!
P:
configure
segment-routing
traffic-eng
pce
address ipv4 205.2.0.2
!
PE2:
configure
segment-routing
traffic-eng
pcc
source-address ipv4 205.3.0.3
pce address ipv4 205.2.0.2
!
/* Configure SR Color */
PE1:
configure
extcommunity-set opaque color1
1
end-set
!
extcommunity-set opaque color2
2
end-set
!
extcommunity-set opaque color3
3
end-set
!
PE2:
configure
extcommunity-set opaque color11
11
end-set
!
extcommunity-set opaque color12
12
end-set
!
extcommunity-set opaque color13
13
end-set
!
/* Configure EVPN route policy */
PE1:
configure
route-policy evpn_odn_policy
if rd in (205.3.0.3:2) then
set extcommunity color color1
set next-hop 205.3.0.3
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
661
L2VPN Services over Segment Routing for Traffic Engineering Policy
Running Configuration