The display snmp-agent trap feature-name ldp all command displays the status of all traps on the MPLS LDP module.
Run the display snmp-agent trap feature-name ldp all command to view the status of all traps on the LDP module. The status can be configured using the snmp-agent trap enable feature-name ldp command.
# Display all trap messages on the MPLS LDP module.
<HUAWEI> display snmp-agent trap feature-name ldp all
------------------------------------------------------------------------------
Feature name: ldp
Trap number : 4
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
Session-Retry off on
Session-PVL off on
Session-Up-MIB off on
Session-Down-MIB off on
Item |
Description |
---|---|
Feature name |
Name of the module to which a trap message belongs. |
Trap number |
Number of trap messages. |
Trap name |
Name of a trap message of the MPLS LDP module:
|
Default switch status |
Default status of the trap function:
|
Current switch status |
Current status of the trap function:
|