display snmp-agent trap feature-name poetrap all command displays the status of all traps on the POETRAP module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name poetrap all command to check the status of all traps of POETRAP. You can use the snmp-agent trap enable feature-name poetrap command to enable the trap function of POETRAP.
Prerequisites
SNMP has been enabled. For details, see snmp-agent.
# Display all the traps of the POETRAP module.
<HUAWEI>display snmp-agent trap feature-name poetrap all
------------------------------------------------------------------------------
Feature name: POETRAP
Trap number : 16
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwPoePdConnected on on
hwPoePdDisconnected on on
hwPoePdClassInvalid on on
hwPoePdClassOvercurrent on on
hwPoePowerOff on on
hwPoePowerOn on on
hwPoePdPriorityDifferent on on
hwPoePowerOverUtilizationThreshold
on on
hwPoePowerOverUtilizationThresholdResume
on on
hwPoePowerAbsent on on
hwPoePowerAbsentResume on on
hwPoeRpsPowerOutputAlarm on on
hwPoeRpsPowerOutputAlarmResume on on
hwPoeCardAbsent on on
hwPoePortFail on on
hwPoePortFailResume 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:
|