414
# Create a cross-connect group named
vpna
, create a cross-connect named
svc
in the group,
and bind GigabitEthernet 1/1/1 to the cross-connect.
[PE2] xconnect-group vpna
[PE2-xcg-vpna] connection svc
[PE2-xcg-vpna-svc] ac interface gigabitethernet 1/1/1
# Create a static PW for the cross-connect to bind the AC to the PW.
[PE2-xcg-vpna-svc] peer 192.2.2.2 pw-id 3 in-label 200 out-label 100
[PE2-xcg-vpna-svc-192.2.2.2-3] quit
[PE2-xcg-vpna-svc] quit
[PE2-xcg-vpna] quit
5.
Configure CE 2.
<CE2> system-view
[CE2] interface gigabitethernet 1/1/1
[CE2-GigabitEthernet1/1/1] ip address 100.1.1.2 24
[CE2-GigabitEthernet1/1/1] quit
Verifying the configuration
# Verify that a static PW has been established on PE 1.
[PE1] display l2vpn pw
Flags: M - main, B - backup, BY - bypass, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1
1 up, 0 blocked, 0 down, 0 defect, 0 idle, 0 duplicate
Xconnect-group Name: vpna
Peer PW ID/Rmt Site In/Out Label Proto Flag Link ID State
192.3.3.3 3 100/200 Static M 0 Up
# Verify that a static PW has been established on PE 2.
[PE2] display l2vpn pw
Flags: M - main, B - backup, BY - bypass, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1
1 up, 0 blocked, 0 down, 0 defect, 0 idle, 0 duplicate
Xconnect-group Name: vpna
Peer PW ID/Rmt Site In/Out Label Proto Flag Link ID State
192.2.2.2 3 200/100 Static M 0 Up
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
Configuring an LDP PW
Network requirements
Create an LDP PW between PE 1 and PE 2 over the backbone to allow communication between CE
1 and CE 2.