
Configuring Multitopology Routing: Example
The following example shows the configuration required to enable a dual multicast topology. The two topologies
defined are named BLUE and GREEN. Each contains one interface. IS-IS is configured so that each interface
is only in the IS-IS topology, and the interfaces themselves are configured so that their connected and local
routes are placed only within the appropriate routing tables.
The routing policy was configured to select which topology should be used based on the source address of
the multicast flow.
!
interface GigabitEthernet0/1/0/0
address-family ipv4 multicast topology BLUE
!
interface GigabitEthernet0/1/0/1
address-family ipv4 multicast topology GREEN
!
router isis 1
net 00.0000.0000.0001.00
interface GigabitEthernet0/1/0/0
address-family ipv4 multicast topology BLUE
interface GigabitEthernet0/1/0/1
address-family ipv4 multicast topology GREEN
!
route-policy mtp1
if destination in (230.5.1.2) then
if source in (10.10.10.10) then
set rpf-topology ipv4 multicast topology BLUE
else
set rpf-topology ipv4 multicast topology GREEN
endif
endif
end-policy
!
router pim
address-family ipv4
rpf topology route-policy mtp1
!
!
multicast-routing
address-family ipv4
interface all enable
!
!
Examples 1 and 2 illustrate routing policies that you can use in configuring PIM RPF topologies:
Example 1
route-policy mtp1
if destination in (225.0.0.1, 225.0.0.11) then
set rpf-topology ipv4 multicast topology t201
elseif destination in (225.0.0.2, 225.0.0.12) then
set rpf-topology ipv4 multicast topology t202
elseif destination in (225.0.0.3, 225.0.0.13) then
pass
endif
end-policy
!
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
159
Implementing Multicast Routing on Cisco IOS XR Software
Configuring Multitopology Routing: Example