Router(config-sr-te)# pce
Router(config-sr-te-pce)# address ipv4 205.2.0.2
Router(config-sr-te-pce)# commit
/* Configure PCC on PE2 */
Router# configure
Router(config)# segment-routing
Router(config-sr)# traffic-eng
Router(config-sr-te)# pcc
Router(config-sr-te-pcc)# source-address ipv4 205.3.0.3
Router(config-sr-te-pcc)# pce address ipv4 205.2.0.2
Router(config-sr-te-pcc)# commit
Configure SR Color
Configure SR colors on PE routers.
/* Define SR color on PE1 */
Router# configure
Router(config)# extcommunity-set opaque color1
Router(config-ext)# 1
Router(config-ext)# end-set
!
Router(config)# extcommunity-set opaque color2
Router(config-ext)# 2
Router(config-ext)# end-set
!
Router(config)# extcommunity-set opaque color3
Router(config-ext)# 3
Router(config-ext)# end-set
!
/* Define SR color on PE2 */
Router# configure
Router(config)# extcommunity-set opaque color11
Router(config-ext)# 11
Router(config-ext)# end-set
!
Router(config)# extcommunity-set opaque color12
Router(config-ext)# 12
Router(config-ext)# end-set
!
Router(config)# extcommunity-set opaque color13
Router(config-ext)# 13
Router(config-ext)# end-set
!
Configure EVPN Route Policy
Configure EVPN route policy on PE1 and PE2. This example shows how to define the route policy language
and track the EVPN route. The "rd" refers to the address of the PE and acts as Ethernet virtual interconnect
for the L2 service.
/* Configure EVPN route policy on PE1 */
Router# configure
Router(config)# route-policy evpn_odn_policy
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
655
L2VPN Services over Segment Routing for Traffic Engineering Policy
Configure SR Color