The display snmp-agent trap feature-name mcast all command displays the status of all traps on the MCAST module.
Usage Scenario
After the trap function of a specified feature is enabled, you can run the display snmp-agent trap feature-name mcast all command to check the status of all traps of MCAST. You can use the snmp-agent trap enable feature-name mcast command to enable the trap function of MCAST.
Prerequisites
SNMP has been enabled. See snmp-agent for details on how to enable SNMP.
# Display all the traps of the MCAST module.
<HUAWEI>display snmp-agent trap feature-name mcast all
------------------------------------------------------------------------------
Feature name: MCAST
Trap number : 4
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
hwBoardL2mcResLack on on
hwBoardL2mcResLackResume on on
hwBoardIpmcResLack on on
hwBoardIpmcResLackResume on on
Item |
Specification |
---|---|
Feature name |
Name of the module that the trap belongs to. |
Trap number |
Number of traps. |
Trap name |
Name of a trap. Traps of the MCAST module include:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Status of the trap function:
|