The display snmp-agent trap feature-name error-down all command displays the status of all traps of the error-down module.
Usage Scenario
The Simple Network Management Protocol (SNMP) is a network management standard widely used on the TCP/IP network. It uses a central computer (a network management station) that runs network management software to manage network elements. The SNMP agent reports trap messages to the network management station so that the network management station can obtain the network status in a timely manner, and the network administrator can take measures accordingly.
Trap names supported by the error-down module. The trap names are the same as the trap names specified by the snmp-agent trap enable feature-name error-down trap-name trap-name command. Each trap name corresponds to a network element abnormality.
Trap status of the error-down module. You can check whether the trap is reported based on the trap name.
Prerequisites
SNMP has been enabled. See snmp-agent.
# Display all traps of the error-down module.
<HUAWEI>display snmp-agent trap feature-name error-down all
------------------------------------------------------------------------------
Feature name: ERROR-DOWN
Trap number : 2
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwErrordown on on
hwErrordownRecovery on on
Item |
Description |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Name of the trap:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|