3Com Switch 8800 Configuration Guide
Chapter 36 MPLS Basic Capability Configuration
36-10
V. Trapping MPLS
This command is used to enable the trap function of MPLS during an LSP/LDP setup
process.
Perform the following configuration in system view.
Table 36-20
Enable the trap function of MPLS
Operation
Command
Enable the LDP trap function of MPLS
snmp-agent trap enable ldp
Disable the LDP trap function of MPLS
undo snmp-agent trap enable ldp
Enable the LSP trap function of MPLS
snmp-agent trap enable lsp
Disable the LSP trap function of MPLS
undo snmp-agent trap enable lsp
36.4.2 Displaying and Debugging LDP
I. LDP display commands
VRP provides abundant MPLS monitoring commands for monitoring states of LSRs,
LDP sessions, interfaces and peers. These commands are the powerful debugging and
diagnosing tools.
After accomplishing the configuration tasks described earlier, you can execute the
display
command in any view to view the running state of LDP and thus to evaluate the
effect of the configurations.
Table 36-21
Display LDP
Operation
Command
Display LDP information
display mpls ldp
Display buffer information for LDP
display mpls
ldp buffer-info
Display LDP-enabled interface
information
display mpls ldp interface
Display LDP saved label information
display mpls ldp lsp
Display information on all peers of LDP
session
display mpls ldp peer
Display information of the remote-peers
in the LDP sessions
display mpls ldp remote
Display states and parameters of LDP
sessions
display mpls ldp session