Partitioned RRs with IOS-XR
#IOS-XE
config replace flash:vpnv4.partitioned.rr.xr.init.cfg
#IOS-XR
configure
load bootflash:vpnv4.partitioned.rr.xr.init.cfg
commit replace
y
Answer
Explanation


Last updated
#IOS-XE
config replace flash:vpnv4.partitioned.rr.xr.init.cfg
#IOS-XR
configure
load bootflash:vpnv4.partitioned.rr.xr.init.cfg
commit replace
y


Last updated
#R3
ip extcommunity-list standard PERMITTED_VPNv4 permit rt 100:1
!
router bgp 100
template peer-session IBGP
remote-as 100
update-so lo0
exit-peer-session
!
template peer-policy IBGP
route-reflector-client
exit-peer-policy
!
neighbor 2.2.2.2 inherit peer-session IBGP
neighbor 4.4.4.4 inherit peer-session IBGP
neighbor 5.5.5.5 inherit peer-session IBGP
neighbor 6.6.6.6 inherit peer-session IBGP
!
add vpnv4
bgp rr-group PERMITTED_VPNv4
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 inherit peer-policy IBGP
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 inherit peer-policy IBGP
neighbor 5.5.5.5 activate
neighbor 5.5.5.5 inherit peer-policy IBGP
neighbor 6.6.6.6 activate
neighbor 6.6.6.6 inherit peer-policy IBGP
#XR1
route-policy VPNv4_RETAIN
if extcommunity rt matches-any (100:2) then
pass
endif
end-policy
!
router bgp 100
address-family ipv4 unicast
!
address-family vpnv4 unicast
retain route-target route-policy VPNv4_RETAIN
!
neighbor-group IBGP
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
route-reflector-client
!
neighbor 2.2.2.2
use neighbor-group IBGP
!
neighbor 4.4.4.4
use neighbor-group IBGP
!
neighbor 5.5.5.5
use neighbor-group IBGP
!
neighbor 6.6.6.6
use neighbor-group IBGProuter bgp 100
no bgp default route-target filterip extcommunity-list standard PERMITTED_VPNv4 permit rt 100:1
!
router bgp 100
add vpnv4
bgp rr-group PERMITTED_VPNv4router bgp 100
add vpnv4 uni
retain route-target allroute-policy VPNv4_RETAIN
if extcommunity rt matches-any (100:2) then
pass
endif
end-policy
!
router bgp 100
address-family vpnv4 unicast
retain route-target route-policy VPNv4_RETAIN