In IP Multicast Routing Using PIM-SM Configuration Example, the system labeled ABR1 is configured for IP multicast routing using PIM-SM.
Note
The above figure is used in the OSPF section to describe the OSPF (Open Shortest Path First) configuration on a switch.The router labeled ABR1 has the following configuration:
configure vlan HQ_10_0_2 ipaddress 10.0.2.1 255.255.255.0 configure vlan HQ_10_0_3 ipaddress 10.0.3.1 255.255.255.0 configure vlan LA_161_48_2 ipaddress 161.48.2.2 255.255.255.0 configure vlan CHI_160_26_26 ipaddress 160.26.26.1 255.255.255.0 configure ospf add vlan all area 0.0.0.0 enable ipforwarding enable ipmcforwarding configure pim add vlan all sparse tftp TFTP_SERV -g -r rp_list.pol configure pim crp HQ_10_0_3 rp_list 30 configure pim cbsr HQ_10_0_3 30
The policy file, rp_list.pol, contains the list of multicast group addresses serviced by this RP. This set of group addresses are advertised as candidate RPs. Each router then elects the common RP for a group address based on a common algorithm. This group to RP mapping should be consistent on all routers.
The following is a policy file that configures the CRP for the address ranges 239.0.0.0/24 and 232.144.27.0:
entry extreme1 { if match any { } then { nlri 239.0.0.0/24 ; nlri 232.144.27.0/24 ; } }