interface Gig0/3/0/0
l2transport
interface Gig0/3/0/1
l2transport
l2vpn
xconnect group pwhe
p2p pwhe_spe_1
interface Gig0/3/0/0
neighbor 111.111.111.111 pw-id 1
p2p pwhe_spe_2
interface Gig0/3/0/1
neighbor 112.112.112.112 pw-id 2
P Router Configuration
We need static routes on P routers for rx pindown on S-PE, i.e. to force PWs destined to a specific address to
be transported over certain links.
P1
router static
address-family ipv4 unicast
111.111.111.111 Gig0/1/0/0
112.112.112.112 Gig0/2/0/0
P2
router static
address-family ipv4 unicast
111.111.111.111 Gig0/2/0/1
112.112.112.112 Gig0/1/0/1
S-PE Configuration
At S-PE we have 2 PW-HE interfaces (1 for each PW) and each uses a different interface list for tx pin-down
(has to match the static config at P routers for rx pin-down). Each PW-HE has its PW going to A-PE (pw-id
has to match what's at A-PE).
generic-interface-list il1
interface gig0/1/0/0
interface gig0/2/0/0
generic-interface-list il2
interface gig0/1/0/1
interface gig0/2/0/1
interface pw-ether1
ipv4 address 10.1.1.2/24
attach generic-interface-list il1
interface pw-ether2
ipv4 address 10.1.2.2/24
attach generic-interface-list il2
l2vpn
xconnect group pwhe
p2p pwhe1
interface pw-ether1
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
349
Implementing Multipoint Layer 2 Services
Configuring Pseudowire Headend: Example