interface GigE0/0/0/2.2 l2transport
encapsulation dot1q 1
!
l2vpn
xconnect group evpn_vpws
p2p e1_10
interface GigE0/0/0/2.2
neighbor evpn evi 2 target 10 source 10
!
!
PE2:
configure
interface GigE0/0/0/2.4 l2transport
encapsulation dot1q 1
!
l2vpn
xconnect group evpn_vpws
p2p e3_30
interface GigE0/0/0/2.4
neighbor evpn evi 2 target 10 source 10
!
!
!
/* Configure VPWS with Pseudowire Headend */
generic-interface-list ifl
interface HundredGigE0/0/0/0
!
interface PW-Ether18
attach generic-interface-list ifl
!
interface PW-Ether18.4
ipv4 address 123.123.123.1 255.255.255.0
encapsulation dot1q 4
!
l2vpn
xconnect group evpn_vpws
p2p e3_30
interface PW-Ether18
neighbor evpn evi 4 target 30 source 30
!
interface GigE0/0/0/2.4 l2transport
encapsulation dot1q 4
!
l2vpn
xconnect group evpn_vpws
p2p e3_30
interface GigE0/0/0/2.4
neighbor evpn evi 4 target 30 source 30
!
Verify EVPN VPWS On Demand Next Hop with SR-TE Configuration
Verify if SR-TE policy is auto-provisioned for each L2 service configured on EVPN ODN.
PE1# show segment-routing traffic-eng policy
SR-TE policy database
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
663
L2VPN Services over Segment Routing for Traffic Engineering Policy
Verify EVPN VPWS On Demand Next Hop with SR-TE Configuration