• Cancel - Remains in the configuration mode, without committing the configuration changes.
Configuring Service Path Preference
Perform these tasks to configure Service Path Preference:
Setting a Forward Class in a Route Policy
The following configuration shows how to set a forward-class in a route-policy:
route-policy fwd1
set forward-class 1
end-policy
!
route-policy fwd2
set forward-class 2
end-policy
!
Attaching a Route Policy at Table Policy Attach Point
The following configuration shows how to attach a route-policy to a table-policy attach point for VPLS
bridge-domain VFI:
config
l2vpn
bridge group bg1
bridge-domain bd1
vfi v1
autodiscovery bgp
table-policy fwd1
!
The following configuration shows how to attach a route-policy to a table-policy attach point for EVPN EVI:
config
l2vpn
bridge group pbb
bridge-domain core1
pbb core
evi 1
!
bridge group edge
bridge-domain edge1
pbb edge i-sid 256 core-bridge core1
!
evpn
evi 1
bgp
table-policy fwd2
!
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
274
Implementing Multipoint Layer 2 Services
Configuring Service Path Preference