
ipv4 address 10.2.0.1/32
no shutdown
multicast-routing
interfaces all enable
router pim
rp-address 10.0.0.1
router msdp
connect-source loopback 1
peer 10.2.0.2
Router B
interface loopback 0
ipv4 address 10.0.0.1/32
no shutdown
interface loopback 1
ipv4 address 10.2.0.2/32
no shutdown
multicast-routing
interfaces all enable
router pim
rp-address 10.0.0.1
router msdp
connect-source loopback 1
peer 10.2.0.1
Apply the following configuration to all network routers:
multicast-routing
router pim
rp-address 10.0.0.1
Bidir-PIM Configuration on Software: Example
An access list on the RP can be used to specify a list of groups to be advertised as bidirectional PIM (bidir-PIM).
The following example shows how to configure an RP for both PIM-SM and the bidir-PIM mode groups. The
bidir-PIM groups are configured as 224/8 and 227/8, with the remaining multicast group range (224/4)
configured as PIM-SM.
interface loopback 0
ipv4 address 10.0.0.1/24
no shutdown
interface loopback 1
ipv4 address 10.2.0.1/24
no shutdown
ipv4 access-list bidir_acl
10 permit 224.0.0.0 0.255.255.255 any
20 permit 225.0.0.0 0.255.255.255 any
multicast-routing
interface all enable
router pim
auto-rp mapping-agent loopback 0 scope 15 interval 60
auto-rp candidate-rp loopback 0 scope 15 group-list bidir_acl interval 60 bidir
auto-rp candidate-rp loopback 1 scope 15 group-list 224/4 interval 60
Issue the
show pim group-map
command and verify the output to ensure that the configured mappings
are learned correctly.
Tip
Cisco IOS XR Multicast Configuration Guide for the Cisco CRS Router, Release 5.2.x
136
Implementing Multicast Routing on Cisco IOS XR Software
Bidir-PIM Configuration on Software: Example