The display snmp-agent trap all command displays whether the switch is enabled to send alarms of all features to the NM station.
You can run the display snmp-agent trap all command to check whether the switch is enabled to send alarms of specified features to the NMS. You can configure this function by running snmp-agent trap enable, snmp-agent trap enable feature-name, and snmp-agent trap disable.
# Check whether the switch is enabled to send alarms of specified features to the NMS.
<HUAWEI> display snmp-agent trap all ------------------------------------------------------------------------------ Feature name: INFO Trap number : 2 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwICLogFileAging on on hwICLogBufferLose on on ------------------------------------------------------------------------------ ---- More ----
Item |
Description |
---|---|
Feature name |
Name of the feature that generates alarms. |
Trap number |
Number of alarms generated by this feature. |
Trap name |
Name of the alarm. |
Default switch status |
Default status of the alarm:
|
Current switch status |
Current status of the alarm:
This status can be configured using the snmp-agent trap enable feature-name command. |