![H3C S9500 Series Command Manual Download Page 12](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036012.webp)
Command Manual – MPLS Basics
H3C S9500 Series Routing Switches
Chapter 1 MPLS Basics Configuration Commands
1-4
// Update the information of an outgoing label.
*0.16868001 PE1 LDP/8/Advertisement:
Add Info Out_If: 3145744, NHAddr: 140.12.1.2.
*0.16868001 PE1 LDP/8/Advertisement: Vlan-interface 12
FEC: 140.2.2.2/0xffffffff, DU DS state machine process, DS Peer 140.2.2.2:0,
DSCB's state: Idle , Event: LDP Mapping
// The downstream state machine processes the LDP Mapping event.
*0.16868001 PE1 LDP/8/Advertisement:
0 - FEC: 140.2.2.2/0xffffffff, Successful Next Hop Query
*0.16868017 PE1 LDP/8/Advertisement:
Create USCB, FEC: 140.2.2.2/0xffffffff.
// Create a USCB.
*0.16868032 PE1 LDP/8/Advertisement:
FEC: 140.2.2.2/0xffffffff, DU Ingress US state machine process, USCB's state:
Idle Event: Internal DownStream Mapping
// The upstream state machine processes the Internal DownStream Mapping event.
*0.16868032 PE1 LDP/8/Advertisement:
LDP send LSP Message (Event: 1) to LSPM for LSP:
0 140.2.2.2/32 -----/3 140.12.1.2 ------- Vlan12
The token is: 557235. The MTU is: 1500.
// Inform LSPM that an LSP is created successfully.
# Enable LDP session event debugging by executing the
debugging mpls
ldp
session
command.
Start two switches, connect the two switches, and configure MPLS and MPLS LDP for
them to establish a session between them. Enable LDP session event debugging by
executing the
debugging mpls ldp session
command on one switch while restarting
LDP on the other switch.
<PE1> debugging mpls ldp session
<PE1>
*0.19200353 PE1 LDP/8/Session: Vlan-interface 12
Link Hello message sent on interface: Vlan-interface 12
// Send a Hello message.
*0.19201475 PE1 LDP/8/Session:
Session(140.3.3.3) received keep alive message on Operational state.
// Receive a Keepalive message.
*0.19202353 PE1 LDP/8/Session: Vlan-interface 12
Link Hello message received on interface: Vlan-interface 12
// Receive a Hello message.