
vrf receiver_vrf
ipv4 address 201.22.22.201 255.255.255.255
!
interface GigabitEthernet0/6/0/0
vrf receiver_vrf
ipv4 address 10.10.10.1 255.255.0.0
!
vrf receiver_vrf
address-family ipv4 unicast
import route-target
1100:1
1101:1
!
export route-target
1101:1
!
!
router bgp 1
regular BGP MVPN config
vrf receiver_vrf
rd 1101:1
address-family ipv4 unicast
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
in Receiver VRFs to Propagate Joins to a Source VRF: Example, on page 162
.
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
!
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
164
Implementing Multicast Routing on Cisco IOS XR Software
Configuring MVPN Extranet Routing: Example