Implementing Multicast Routing on Cisco IOS XR Software Cisco ASR 9000 Series Routers
Additional References
MCC-96
Multicast Configuration Guide
OL-
redistribute connected
!
multicast-routing
vrf receiver_vrf address-family ipv4
log-traps
mdt default ipv4 226.0.0.5
rate-per-route
interface all enable
accounting per-prefix
!
address-family ipv4
nsf
mdt source Loopback5
interface all enable
!
router pim vrf receiver_vrf address-family ipv4
rp-address 201.22.22.201
!
Configuring RPL Policies in Receiver VRFs on Source PE Routers to Propagate Joins to a Source VRF: Example
In addition to configuring route targets , RPL policies can be configured in receiver VRFs on a ource PE
router to propagate joins to a specified source VRF. However, this configuration is optional.
The configuration below shows a policy in which the receiver VRF can select either “provider_vrf_1”
or “provider_vrf_2” to propagate PIM joins. Provider_vrf_1 will be selected if the rendezvous point (RP)
for a multicast stream is 201.22.22.201, while provider_vrf_2 will be selected if the RP for a multicast
stream is 202.22.22.201.
As an alternative, you can configure a multicast group-based policy as shown in the “Configuring RPL
Policies in Receiver VRFs to Propagate Joins to a Source VRF: Example” section on page MCC-93.
route-policy extranet_streams_from_provider_rp
if source in (201.22.22.201) then
set rpf-topology vrf provider_vrf_1
else if source in (202.22.22.201) then
set rpf-topology vrf provider_vrf_2
else
pass
endif
end-policy
!
router pim vrf receiver_vrf address-family ipv4
rpf topology route-policy extranet_streams_from_provider_rp
rp-address 201.22.22.201 grange_227
rp-address 202.22.22.201 grange_228
!
Additional References
The following sections provide references related to implementing multicast routing on
Cisco
IOS XR software.