When you use the router for PIM sparse mode or PIM sparse-dense mode, some VRs must act as RP routers. You can configure static RP routers or configure the router to assign RP routers automatically.
To configure the router to assign RP routers automatically, you must define several VRs as RP routers and one VR as an RP mapping agent. RP routers send their announcement messages to the RP mapping agent, which assigns groups to RP routers and resolves any conflicts. The RP mapping agent notifies neighbors of the RP assigned to each group.
If you want to control PIM more tightly, you can configure a static RP router. To do so:
- host1(config)#access-list boston permit 228.0.0.0
15.255.255.255
- host1(config)#ip pim rp-address 122.0.0.1 1 boston
Two multicast groups, 224.0.1.39 and 224.0.1.40, are reserved for forwarding auto-RP messages through the network. When you configure an auto-RP router for PIM sparse mode, you must assign a static RP router to these two groups. You can then specify an RP mapping agent for other multicast groups.
To configure an auto-RP router for PIM sparse mode:
- host1(config)#access-list 11 permit 224.0.1.39
0.0.0.0
- host1(config)#access-list 11 permit 224.0.1.40
0.0.0.0
- host1(config)#ip pim rp-address 192.48.1.22 11 override
- host1(config)#ip pim send-rp-discovery scope
23 loopback 1
- host1(config)#ip pim send-rp-announce loopback
2 scope 16 group-list 1
In PIM sparse-dense mode, you must prevent routers from advertising auto-RP messages to the multicast groups 224.0.1.39 and 224.0.1.40, which are reserved for forwarding auto-RP messages through the network. To configure an auto-RP router for PIM sparse-dense mode:
- host1(config)#ip pim send-rp-discovery scope
23 loopback 1
- host1(config)access-list boston permit 224.0.0.0
15.255.255.255
- host1(config)#access-list 1 deny 224.0.1.39
- host1(config)#access-list 1 deny 224.0.1.40
- host1(config)#ip pim send-rp-announce loopback
2 scope 23 group-list boston interval
200
ip pim rp-address
- host1(config)#ip pim rp-address 192.48.1.22 11 override
ip pim send-rp-announce
- host1(config)#ip pim send-rp-announce loopback
2 scope 23 group-list boston interval
200
ip pim send-rp-discovery scope
- host1(config)#ip pim send-rp-discovery scope
23 loopback 1