display snmp-agent trap feature-name entitytrap all command displays the status of all traps on the ENTITYTRAP module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name entitytrap all command to check the status of all traps of ENTITYTRAP. You can use the snmp-agent trap enable feature-name entitytrap command to enable the trap function of ENTITYTRAP.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display all the traps of the ENTITYTRAP module. (The actual output information may differ from the following information.)
<HUAWEI> display snmp-agent trap feature-name entitytrap all ------------------------------------------------------------------------------ Feature name: ENTITYTRAP Trap number : 98 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwChassisRemove on on hwChassisInsert on on hwChassisFail on on hwChassisFailResume on on hwChassisInvalid on on hwChassisInvalidResume on on hwChassisLeaveMaster on on hwChassisBecomeMaster on on hwBoardRemove on on hwBoardInsert on on hwBoardFail on on hwBoardFailResume on on hwBoardInvalid on on hwBoardInvalidResume on on hwBoardLeaveMaster on on hwBoardBecomeMaster on on hwCardRemove on on hwCardInsert on on hwCardFail on on hwCardFailResume on on hwCardInvalid on on hwCardInvalidResume on on hwOpticalRemove on on hwOpticalInsert on on hwOpticalFail on on hwOpticalFailResume on on hwOpticalInvalid on on hwOpticalInvalidResume on on hwOpticalTunableNotMatch off off hwOpticalTunableNotMatchResume off off hwPowerRemove on on hwPowerInsert on on hwPowerFail on on hwPowerFailResume on on hwPowerInvalid on on hwPowerInvalidResume on on hwPowerUnusable on on hwPowerUnusableResume on on hwFanRemove on on hwFanInsert on on hwFanFail on on hwFanFailResume on on hwFanInvalid on on hwFanInvalidResume on on hwFanUnusable on on hwFanUnusableResume on on hwLCDRemove on on hwLCDInsert on on hwLCDInvalid on on hwLCDInvalidResume on on hwLCDUnusable on on hwLCDUnusableResume on on hwCMURemove on on hwCMUInsert on on hwCMUInvalid on on hwCMUInvalidResume on on hwCMUUnusable on on hwCMUUnusableResume on on hwCommunicateError on on hwCommunicateResume on on hwHumidityAlarm on on hwHumidityResume on on hwVoltAlarm on on hwVoltResume on on hwGateAlarm on on hwGateResume on on hwFogAlarm on on hwFogResume on on hwUnstableAlarm on on hwUnstableResume on on hwBrdTempAlarm on on hwBrdTempResume on on hwCPUUtilizationRising on on hwCPUUtilizationResume on on hwMemUtilizationRising on on hwMemUtilizationResume on on hwBatteryFull on on hwOpticalMayInvalid on on hwOpticalMayInvalidResume on on hwOpticalPowerAlarm on on hwOpticalPowerAlarmResume on on hwOpticalUnAuthorized on on hwBoardPortsConflict on on hwCardInconsistent on on hwEntityFileSystemAbnormal on on hwVirtualLicenseNearDeadline on on hwVirtualLicenseExpire on on hwFlhStorageFullTrap on on hwCardPortInvalid on on hwOpticalBiasCurrentAlarm on on hwOpticalBiasCurrentAlarmResume on on hwBoardOffline on on hwPortInvalid on on hwSystemConfigNotMatchTrap on on hwBoardSoftwareNotSupport on on hwVirtualLicenseExpResume on on hwIntegratedPowerFault on on hwIntegratedPowerFaultResume on on
Item |
Specification |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Trap name. |
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|