395
# Configure VSI
aaa
that uses LDP as the PW signaling protocol, and establish PWs to PE 1 and
PE 2.
[PE3] vsi aaa
[PE3-vsi-aaa] pwsignaling ldp
[PE3-vsi-aaa-ldp] peer 1.1.1.9 pw-id 500
[PE3-vsi-aaa-ldp-1.1.1.9-500] quit
[PE3-vsi-aaa-ldp] peer 2.2.2.9 pw-id 500
[PE3-vsi-aaa-ldp-2.2.2.9-500] quit
[PE3-vsi-aaa-ldp] quit
[PE3-vsi-aaa] quit
# Create Ethernet service instance 10 on Ten-GigabitEthernet 1/0/1 to match all packets.
[PE3] interface ten-gigabitethernet 1/0/1
[PE3-Ten-GigabitEthernet1/0/1] service-instance 10
[PE3-Ten-GigabitEthernet1/0/1-srv10] encapsulation default
# Bind Ethernet service instance 10 to the VSI
aaa
.
[PE3-Ten-GigabitEthernet1/0/1-srv10] xconnect vsi aaa
Verifying the configuration
# Verify that two LDP PWs in up state have been established on PE 1.
[PE1] display l2vpn pw verbose
VSI Name: aaa
Peer: 2.2.2.9 PW ID: 500
Signaling Protocol : LDP
Link ID : 8 PW State : Up
In Label : 131179 Out Label: 131179
MTU : 1500
PW Attributes : Main
VCCV CC : -
VCCV BFD : -
Tunnel Group ID : 0x1800000260000000
Tunnel NHLFE IDs : 138
Peer: 3.3.3.9 PW ID: 500
Signaling Protocol : LDP
Link ID : 9 PW State : Up
In Label : 131178 Out Label: 131177
MTU : 1500
PW Attributes : Main
VCCV CC : -
VCCV BFD : -
Tunnel Group ID : 0x1800000360000001
Tunnel NHLFE IDs : 139
BGP PW configuration example
Network requirements
Create BGP PWs among PEs so CEs in different sites of VPN 1 can communicate with each other.