<Sysname> system-view
[Sysname] sysname PE2
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 10.0.0.3 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 10.0.0.3
[PE2] mpls
[PE2-mpls] quit
# Enable MPLS L2VPN globally.
[PE2] mpls l2vpn
# Configure interface POS 1/1.
[PE2] interface pos 1/1
[PE2-POS1/1] link-protocol ppp
[PE2-POS1/1] quit
# Configure interface POS 1/0 and enable MPLS.
[PE2] interface pos 1/0
[PE2-POS1/0] link-protocol ppp
[PE2-POS1/0] ip address 10.2.2.1 24
[PE2-POS1/0] mpls
[PE2-POS1/0] quit
# Create a remote connection from CE 2 to CE 1, using the interface connecting
CE 2 as the incoming interface and that connecting the P device as the outgoing
interface, setting the incoming label to 201 and the outgoing label to 101.
[PE2] ccc CE2-CE1 interface pos 1/1 in-label 201 out-label 101 out-i
nterface pos 1/0
5 Configure CE 2
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface pos 1/0
[CE2-POS1/0] link-protocol ppp
[CE2-POS1/0] ip address 100.1.1.2 24
After completing the above configurations, you can display CCC connection
information on the PE. There should be one local CCC connection established. CE
1 should be able to ping interface 100.1.1.2 of CE 2 and CE 2 should be able to
ping interface 100.1.1.1 of CE 1:
[PE] display ccc
Total
ccc vc
Local
ccc vc
Remote ccc vc
***Name
Type
State
Intf
In-label
Out-label
Out-interface
MPLS L2VPN Configuration Example
: 1
: 0,
0 up
: 1,
1 up
: ce1-ce2
: remote
: up
: POS1/1 (up)
: 201
: 101
: POS1/0 (up)
1443
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers