
rd 1002:2
address-family ipv4 unicast
redistribute connected
!
!
!
route-policy A1-Hub-Policy
if extcommunity rt matches-any (1000:10) then
set rpf-topology vrf A1-Hub-Tunnel
elseif extcommunity rt matches-any (1001:10) then
set rpf-topology vrf A1-Spoke-Tunnel
else
pass
endif
end-policy
!
route-policy A1-Spoke-Policy
if extcommunity rt matches-any (1000:10) then
set rpf-topology vrf A1-Hub-Tunnel
else
pass
endif
end-policy
!
CE1:
vrf A1-Hub-1
address-family ipv4 unicast
import route-target
1000:10
1001:10
!
export route-target
1000:10
!
!
!
multicast-routing
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
172
Implementing Multicast Routing on Cisco IOS XR Software
Configuring Multicast Hub and Spoke Topology: Example