Routing Multicast Traffic with PIM-SM and Auto-RP
Problem
You want to allow routing of multicasts by using Sparse Mode, and use Auto-RP for distributing RP information.
Solution
This recipe accomplishes the same basic tasks as Recipe 23.2, but using a different method. If you are unfamiliar with PIM-SM, please read that recipe first. There are two different types of router configurations for Auto-RP configuration, just as there are for BSR. Router1 represents a regular multicast-enabled router anywhere in the network. This router supports end devices as group members or servers, as well as routing multicast traffic for other routers:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#ip multicast-routing
Router1(config)#ip pim rp-address
Router1(config)#
192.168.15.5
interface
Router1(config-if)#
FastEthernet0/0
ip address
Router1(config-if)#
192.168.1.1 255.255.255.0
ip pim sparse-dense-mode
Router1(config-if)#exit
Router1(config)#interface
Router1(config-if)#
Serial1/0
ip address
Router1(config-if)#
192.168.2.5 255.255.255.252
ip pim sparse-dense-mode
Router1(config-if)#end
Router1#
The second type of configuration is for a candidate RP router, called Router RP1. This router may also support group members or servers. As in the previous recipe, it is a good idea to configure two or more routers in each multicast domain like this to provide redundancy:
Router-RP1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.