In this example, IS-IS is used as IGP and the configuration procedure is not mentioned.
After the configuration, the ASBR and PE in the same AS can establish an IS-IS adjacency. Run
the display isis peer command, and you can see that the IS-IS adjacency is in Up state, and the
PEs can learn each other's loopback address.
Take the display on PE1 for example.
<PE1> display isis peer
Peer information for ISIS(1)
----------------------------
System Id Interface Circuit Id State HoldTime Type PRI
0000.0000.0002 Vlanif20 0000000001 Up 21s L1L2 --
The ASBR and PE in the same AS can ping each other.
Take the display on PE1 for example.
<PE1> ping 2.2.2.9
PING 2.2.2.9: 56 data bytes, press CTRL_C to break
Reply from 2.2.2.9: bytes=56 Sequence=1 ttl=255 time=180 ms
Reply from 2.2.2.9: bytes=56 Sequence=2 ttl=255 time=90 ms
Reply from 2.2.2.9: bytes=56 Sequence=3 ttl=255 time=60 ms
Reply from 2.2.2.9: bytes=56 Sequence=4 ttl=255 time=60 ms
Reply from 2.2.2.9: bytes=56 Sequence=5 ttl=255 time=100 ms
--- 2.2.2.9 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/98/180 ms
Step 3 Enable MPLS and configure dynamic LSPs.
Configure the basic MPLS capability on the MPLS backbone network. Establish a dynamic LDP
LSP between the PE and ASBR-PE in the same AS.
After this step, an LSP is established between the PE and ASBR-PE in the same AS.
Take the display on ASBR-PE1 for example.
<ASBR-PE1> display mpls ldp session
LDP Session(s) in Public Network
------------------------------------------------------------------------------
Peer-ID Status LAM SsnRole SsnAge KA-Sent/Rcv
------------------------------------------------------------------------------
1.1.1.9:0 Operational DU Active 000:00:19 79/79
------------------------------------------------------------------------------
TOTAL: 1 session(s) Found.
LAM : Label Advertisement Mode SsnAge Unit : DDD:HH:MM
Step 4 Configure the MPLS L2VC connection.
Configure the L2VC connection on the PE and ASBR-PE and connect the PE to the CE.
# Configure PE1.
[PE1] mpls l2vpn
[PE1-l2vpn] mpls l2vpn default martini
[PE1-l2vpn] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] mpls l2vc 2.2.2.9 100
[PE1-Vlanif10] quit
# Configure ASBR-PE1.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 4 VLL Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4-71