
rp-address 201.22.22.201
!
router bgp 1
regular BGP MVPN config
vrf provider-vrf
rd 1100:1
address-family ipv4 unicast
redistribute connected
!
vrf receiver_vrf
rd 1101:1
address-family ipv4 unicast
redistribute connected
!
Configuring RPL Policies in Receiver VRFs to Propagate Joins to a Source VRF: Example
In addition to configuring route targets, Routing Policy Language (RPL) policies can be configured in receiver
VRFs on receiver PE routers to propagate joins to a specified source VRF. However, this configuration is
optional.
The following configuration example shows a policy where the receiver VRF can pick either
“
provider_vrf_1
”
or
“
provider_vrf_2
”
to propogate PIM joins.
In this example, provider_vrf_1 is used for multicast streams in the range of from 227.0.0.0 to 227.255.255.255,
while provider_vrf_2 is being used for streams in the range of from 228.0.0.0 to 228.255.255.255.
route-policy extranet_streams_from_provider_vrf
if destination in (227.0.0.0/32 ge 8 le 32) then
set rpf-topology vrf provider_vrf_1
elseif destination in (228.0.0.0/32 ge 8 le 32) 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_vrf
!
Configuring the Receiver MVRF on the Source PE Router: Example
The following examples show how to configure MVPN extranet routing by specifying the receiver MVRF
on the source PE router.
You must configure both the source PE router and the receiver PE router.
Note
Configure the Source PE Router Using Route Targets
interface Loopback5
ipv4 address 202.5.5.202 255.255.255.255
!
interface GigabitEthernet0/3/0/2
vrf provider-vrf
ipv4 address 20.20.20.1 255.255.0.0
!
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
162
Implementing Multicast Routing on Cisco IOS XR Software
Configuring MVPN Extranet Routing: Example