The display snmp-agent trap feature-name msdp all command displays the status of all MSDP traps.
display snmp-agent trap feature-name msdp all
Only the S5720-EI, S5720-HI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-EI, S6720S-LI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
You can run the display snmp-agent trap feature-name msdp all command to view the status of all MSDP traps when you want to monitor the current status of MSDP protocol events but are not sure whether the MSDP trap function is enabled. You can use the snmp-agent trap enable feature-name msdp command to enable the trap function of MSDP.
# Display whether the trap function is enabled for the MSDP module.
<HUAWEI> display snmp-agent trap feature-name msdp all
------------------------------------------------------------------------------
Feature name: MSDP
Trap number : 2
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
establish off off
backward off off
Item |
Description |
---|---|
Feature name |
Name of the module. |
Trap number |
Type number of a trap. |
Trap name |
Event type. The event types are as follows:
|
Default switch status |
Status of the default trap switch:
|
Current switch status |
Status of the current trap switch:
|