3Com Switch 8800 Configuration Guide
Chapter 36 MPLS Basic Capability Configuration
36-11
II. LDP debugging commands
Execute
debugging
command in user view for the debugging of various messages
related to LDP
Table 36-22
Enable/disable debugging for MPLS LDP
Operation
Command
Enable debugging for
MPLS LDP
debugging mpls ldp
{
all
|
main
|
advertisement
|
session
|
pdu
|
notification
|
remote
}[
interface
interface
-
type
interface
-
num
]
Disable debugging for
MPLS LDP
undo mpls debugging ldp
{
all
|
main
|
advertisement
|
session
|
pdu
|
notification
|
remote
} [
interface
interface
-
type
interface
-
num
]
all
: Displays all LDP-related debugging information
main
: Displays debugging information about LDP main tasks
advertisement
: Displays debugging information in processing LDP advertisements
session
: Displays debugging information in processing LDP session
pdu
: Displays debugging information in processing PDU packets
notification
: Displays debugging information in processing notifications
remote
: Displays debugging information about all remote peers
interface
-
type
Interface
-
num
: Port type and port ID.
Use the
mpls ldp reset-session
command in VLAN interface to reset a specific LDP
session on the VLAN interface.
Table 36-23
Reset LDP
Operation
Command
Reset a specific LDP session on the
VLAN interface (VLAN interface view)
mpls ldp reset-session
peer
-
address
36.5 Typical MPLS Configuration Example
I. Network requirements
Figure 36-1 illustrates a network with four switches, which connects to each other
through Ethernet.
The four switches all support MPLS, and LSP can be established between any two
switches with the routing protocol OSPF.LDP establishes LSP by using routing
information of OSPF.