Command Manual – MPLS 
Quidway S8500 Series Routing Switches  Chapter 1  MPLS Basic Configuration Commands
 
Huawei Technologies Proprietary 
1-11 
Example 
# Configure a static LSP for the VLAN201 interface on a transit LSR, with an inbound 
label of 123 and an outbound label of 253. 
<Quidway>system-view 
[Quidway] mpls 
[Quidway-mpls] static-lsp transit bj-sh incoming-interface vlan-interface 201 
in-label 123 nexthop 202.34.114.7 out-label 253 
1.2  LDP Configuration Commands 
1.2.1  debugging mpls ldp 
Syntax 
debugging mpls ldp { all | main | advertisement | session | pdu | notification | 
remote } [ interface interface-type interface-number] 
undo debugging mpls ldp { all | main | advertisement | session | pdu | notification 
| remote } [ interface interface-type interface-number ] 
View 
User view 
Parameter 
all: Displays all debugging information related to LDP. 
main: Displays the debugging information of LDP main tasks. 
advertisement: Displays the debugging information during LDP advertising. 
session: Displays debugging information during LDP session processing. 
pdu: Displays the debugging information during PDU packet processing. 
notification: Displays the debugging information during notification. 
remote: Displays debugging information of all Remote Peers. 
interface-type interface-number: Interface type, interface number. 
Description 
Use the debugging ldp command to enable the debugging of various LDP messages. 
Use the undo debugging ldp command to disable the debugging of various LDP 
messages. 
You are advised to use the debugging command cautiously. 
Example 
# Enable LDP debugging.