Date created: Wednesday, January 27, 2016 11:01:13 AM. Last modified: Thursday, November 22, 2018 10:55:43 AM
Inter-AS MPLS Option B Prefix-Filtering (IOS-XR)
extcommunity-set rt Cust1-OptionB-RT-Filter-In
65001:10,
65001:20,
65001:30,
65001:40,
65001:50,
65001:60,
65001:70
end-set
route-policy Cust1-PE-RT-Filter-In
if extcommunity rt matches-any Cust1-OptionB-RT-Filter-In then
pass
endif
end-policy
extcommunity-set rt Cust1-OptionB-RT-Filter-Out
65001:10,
65001:20,
65001:30,
65001:40,
65001:50,
65001:60,
65001:70
end-set
extcommunity-set rt Cust1-VPN70-RT-Out
65001:70
end-set
prefix-set Cust1-VPN70-Prefixes-Out
192.168.30.0/24
end-set
route-policy Cust1-PE-RT-Filter-Out
if extcommunity rt matches-any Cust1-OptionB-RT-Filter-Out then
if extcommunity rt matches-any Cust1-VPN70-RT-Out then
if destination in Cust1-VPN70-Prefixes-Out then
pass
endif
endif
pass
endif
end-policy
router bgp 100
neighbor 192.168.0.1
remote-as 65001
address-family vpnv4 unicast
route-policy Cust1-PE-RT-Filter-In in
route-policy Cust1-PE-RT-Filter-Out out
next-hop-self
exit
exit
exit
Previous page: Inter-AS MPLS Option B Prefix-Filtering (IOS)
Next page: Inter-AS MPLS Option B RD & RT Behaviour (IOS)