display snmp-agent trap feature-name mad all command displays the status of all traps in the MAD module.
Usage Scenario
After the trap function of the MAD module is enabled using the snmp-agent trap enable feature-name mad command, you can run the display snmp-agent trap feature-name mad all command to check the status of all traps in the MAD module.
Prerequisites
SNMP has been enabled using the snmp-agent command.
# Display the status of all the traps in the MAD module.
<HUAWEI>display snmp-agent trap feature-name mad all
------------------------------------------------------------------------------ Feature name: MAD Trap number : 2 ------------------------------------------------------------------------------ Trap name Default switch status Current switch status hwMadConflictDetect on on hwMadConflictResume 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:
|