display snmp-agent trap feature-name srmtrap all command displays the status of all traps on the SRMTRAP module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name srmtrap all command to check the status of all traps of SRMTRAP. You can use the snmp-agent trap enable feature-name srmtrap command to enable the trap function of SRMTRAP.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display all the traps of the SRMTRAP module.
<HUAWEI>display snmp-agent trap feature-name srmtrap all
------------------------------------------------------------------------------
Feature name: SRMTRAP
Trap number : 79
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwOpticalModuleException on on
hwPortPhysicalAutoNegotiateFail
on on
hwPortPhysicalEthHalfDuplexAlarm
on on
hwPortPhysicalAutoNegotiateClear
on on
hwPortPhysicalEthFullDuplexClear
on on
hwfanOffline on on
hwfanOnline on on
hwTempRisingAlarm on on
hwTempRisingResume on on
hwTempFallingAlarm on on
hwTempFallingResume on on
hwtempchipexcption on on
hwtempchipexcptionresume on on
hwfanfault on on
hwfanfaultresume on on
hwphychipabnormal on on
hwPHYfaultresume on on
hwtxpowerexceedminor on on
hwtxpowerresume on on
hwrxpowerexceedminor on on
hwrxpowerresume on on
hwPortPhysicalPortTypeChange on on
hwPowerabsent on on
hwPowerabsentresume on on
hwPowerfault on on
hwPowerfaultresume on on
hwTXPowerExceedMajor on on
hwRXPowerExceedMajor on on
hwBIASExceedMajor on on
hwBIASExceedMinor on on
hwBIASResume on on
hwPHYfault on on
hwPCIfault on on
hwPCIfaultResume on on
hwXAUIREFClockFault on on
hwXAUIREFClockFaultResume on on
hwCPICoreClockFault on on
hwCPICoreClockFaultResume on on
hwLanSwitchFault on on
hwLanSwitchFaultResume on on
hwCLPDCheckFault on on
hwCLPDCheckFaultResume on on
hwFPGACheckFault on on
hwFPGACheckFaultResume on on
hwEEPROMCheckFault on on
hwEEPROMCheckFaultResume on on
hwLightFault on on
hwLightFaultResume on on
hwPOEFault on on
hwPOEFaultResume on on
hwUSBFault on on
hwUSBFaultResume on on
hwUSBPlugIn on on
hwUSBPlugOut on on
hwUSBPowerFault on on
hwUSBPowerFaultResume on on
hwI2CFault on on
hwI2CFaultResume on on
hwSubcardPullOut on on
hwSubcardPlugIn on on
hwRTCfault on on
hwRTCfaultresume on on
hwWriteFlashError on on
hwWriteFlashErrorResume on on
hwOpticalPowerAbnormal on on
hwOpticalPowerResume on on
hwEntityHeartbeatTrap on on
hwPoeChipFault on on
hwPoeChipResume on on
hwReadFlashError on on
hwReadFlashErrorResume on on
hwReadNORFlashError on on
hwReadNORFlashErrorResume on on
hwWriteNORFlashError on on
hwWriteNORFlashErrorResume on on
hwReadNANDFlashError on on
hwReadNANDFlashErrorResume on on
hwWriteNANDFlashError on on
hwWriteNANDFlashErrorResume 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:
|