3Com Switch 8800 Family Configuration Guide

Typical MPLS Configuration Example 523
Displaying and
Debugging LDP
LDP display commands
Comware 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.
LDP debugging commands
Execute debugging command in user view for the debugging of various
messages related to LDP
Use the mpls ldp reset-session command in VLAN interface to reset a specific
LDP session on the VLAN interface.
Typi cal MPLS
Configuration
Example
Network requirements
Figure 126 illustrates a network with four switches, which connects to each other
through Ethernet.
Disable the LSP Trap function of MPLS undo snmp-agent trap enable lsp
Table 519 Enable the trap function of MPLS
Operation Command
Tab le 520 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
Tab le 521 Enable/disable debugging for MPLS LDP
Operation Command
Enable debugging for
MPLS LDP
debugging mpls ldp { all | main | advertisement | session | pdu
| notification | remote | filter } [ interface interface-type
interface-number ]
Disable debugging for
MPLS LDP
undo debugging mpls ldp { all | main | advertisement | session
| pdu | notification | remote | filter } [ interface interface-type
interface-number ]
Tab le 522 Reset LDP
Operation Command
Reset a specific LDP session on the VLAN
interface (VLAN interface view)
mpls ldp reset-session peer-address