The display snmp-agent trap feature-name entityexttrap all command displays the status of all traps of the ENTITYEXTTRAP module.
Usage Scenario
After the trap function of a specified feature is enabled, to check the status of all traps of the ENTITYEXTTRAP module, run the display snmp-agent trap feature-name entityexttrap all command. To enable the trap function for the ENTITYEXTTRAP module, run the snmp-agent trap enable feature-name entityexttrap command.
Prerequisites
SNMP has been enabled using the snmp-agent command.
# Display the status of all traps of the ENTITYEXTTRAP module.
<HUAWEI> display snmp-agent trap feature-name entityexttrap all
------------------------------------------------------------------------------
Feature name: ENTITYEXTTRAP
Trap number : 9
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwEntityInputRateThresholdAlarm
on on
hwEntityInputRateThresholdAlarmResume
on on
hwEntityOutputRateThresholdAlarm
on on
hwEntityOutputRateThresholdAlarmResume
on on
hwEntityHigErrorPacketThresholdAlarm
on on
hwEntityHigStateChangeNotify on on
hwEntityHigStateDownNotify on on
hwEntityRuntPacketCheckNotify on on
hwBoardDropRuntPacketNotify on on
hwEntityHigDiscardPacketNotify on on
Item |
Description |
---|---|
Feature name |
Name of the module to which a trap belongs. |
Trap number |
Number of traps. |
Trap name |
Names of a trap. Traps of the ENTITYEXTTRAP module include:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Trap function status:
|