After completing the configurations, execute commands display mpls ldp session, display bgp
peer and display isis peer respectively on either PE 1 or PE 2. The output shows that the LDP session
is established, the BGP peer relationship is established and in Established state, and the IS-IS
neighbor relationship is established and up.
The following takes PE 1 for illustration.
[PE1] display mpls ldp session
----------------------------------------------------------------
Peer-ID
----------------------------------------------------------------
4.4.4.9:0
----------------------------------------------------------------
LAM : Label Advertisement Mode
[PE1] display bgp peer
BGP local router ID : 3.3.3.9
Local AS number : 100
Total number of peers : 1
Peer
4.4.4.9
[PE1] display isis peer
System Id
0000.0000.0005 POS5/1/1
Configure the customer VPN, using IS-IS as the IGP protocol and enabling LDP between PE 3 and
2.
CE 1, and between PE 4 and CE 2.
# Configure PE 3.
<PE3> system-view
[PE3] interface loopback 0
[PE3-LoopBack0] ip address 1.1.1.9 32
[PE3-LoopBack0] quit
[PE3] mpls lsr-id 1.1.1.9
[PE3] mpls
[PE3-mpls] quit
[PE3] mpls ldp
[PE3-mpls-ldp] quit
[PE3] isis 2
[PE3-isis-2] network-entity 10.0000.0000.0000.0001.00
[PE3-isis-2] quit
[PE3] interface loopback 0
[PE3-LoopBack0] isis enable 2
[PE3-LoopBack0] quit
[PE3] interface pos 5/1/2
[PE3-POS5/1/2] ip address 10.1.1.1 24
[PE3-POS5/1/2] isis enable 2
[PE3-POS5/1/2] mpls
[PE3-POS5/1/2] mpls ldp
[PE3-POS5/1/2] quit
LDP Session(s) in Public Network
Status
LAM
Operational
DU
AS
MsgRcvd
MsgSent
100
162
145
Peer information for ISIS(1)
----------------------------
Interface
Circuit Id
326
SsnRole
FT
MD5
Active
Off
Off
FT
: Fault Tolerance
Peers in established state : 1
OutQ
PrefRcv
0
0
State HoldTime Type
001
Up
29s
KA-Sent/Rcv
378/378
Up/Down
State
02:12:47 Established
PRI
L1L2
--