422
[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 1279/1279 LDP M 1 Up
# Verify that CE 1 and CE 2 can ping each other. (Details not shown.)
Configuring a BGP PW
Network requirements
Create a BGP PW between PE 1 and PE 2 to allow communication between CE 1 and CE 2.
Figure 113 Network diagram
Table 42 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
CE 1
GE1/1/1
100.1.1.1/24 P
Loop0
192.4.4.4/32
PE 1
Loop0
192.2.2.2/32
GE1/1/1
10.1.1.2/24
GE1/1/1
-
GE1/1/2 10.2.2.2/24
GE1/1/2
10.1.1.1/24
PE
2 Loop0
192.3.3.3/32
CE 2
GE1/1/1
100.1.1.2/24
GE1/1/1
-
GE1/1/2
10.2.2.1/24
Configuration procedure
1.
Configure CE 1.
<CE1> system-view
[CE1] interface gigabitethernet 1/1/1
[CE1-GigabitEthernet1/1/1] ip address 100.1.1.1 24
[CE1-GigabitEthernet1/1/1] quit
2.
Configure PE 1:
# Configure an LSR ID.