The display snmp-agent trap feature-name ldp all command displays all trap messages of the MPLS LDP module.
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.
The display snmp-agent trap feature-name ldp all command displays whether all trap functions of the MPLS LDP module are enabled.
# Display all trap messages of the MPLS LDP module.
<sysname>display snmp-agent trap feature-name ldp all
------------------------------------------------------------------------------
Feature name: ldp
Trap number : 3
------------------------------------------------------------------------------
Trap name Default switch status Current switch status
Session-Retry 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:
|
# Displays detailed information about all trap messages of the MPLS LDP module.
<sysname>display snmp-agent trap feature-name ldp all verbose
------------------------------------------------------------------------------ Feature name: ldp Trap number : 3 ------------------------------------------------------------------------------ Trap name : Session-Retry Default switch status : off Current switch status : off Trap Description : Trap name : Session-Up-MIB Default switch status : off Current switch status : off Trap Description : Trap name : Session-Down-MIB Default switch status : off Current switch status : off Trap Description : The MIB information about LDP Session Down
Item |
Description |
|---|---|
Trap Description |
Description text of the current trap message. |