46-32
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 46      Configuring IP Multicast Routing
Configuring IP Multicast Routing
Beginning in privileged EXEC mode, follow these steps to configure your switch as a candidate BSR. 
This procedure is optional. 
To remove this device as a candidate BSR, use the no 
ip pim bsr-candidate global configuration 
command.
This example shows how to configure a candidate BSR, which uses the IP address 172.21.24.18 on a port 
a
s the advertised BSR address, uses 30 bits as the hash-mask-length, and has a priority of 10.
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ip address 172.21.24.18 255.255.255.0
Switch(config-if)# ip pim sparse-dense-mode
Switch(config-if)# ip pim bsr-candidate gigabitethernet1/0/2 30 
10
Configuring Candidate RPs
You can configure one or more candidate RPs. Similar to BSRs, the RPs should also have good 
connectivity to other devices and be in the backbone portion of the network. An RP can serve the entire 
IP multicast address space or a portion of it. Candidate RPs send candidate RP advertisements to the 
BSR. When deciding which devices should be RPs, consider these options:
  • In a network of Cisco routers and multilayer switches where only Auto-RP is used, any device can 
be configured as an RP.
  • In a network that includes only Cisco PIMv2 routers and multilayer switches and with routers from 
other vendors, any device can be used as an RP. 
  • In a network of Cisco PIMv1 routers, Cisco PIMv2 routers, and routers from other vendors, 
configure only Cisco PIMv2 routers and multilayer switches as RPs.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip pim bsr-candidate interface-id 
hash-mask-length [priority]
Configure your switch to be a candidate BSR.
  • For interface-id, enter the interface on this switch from which the 
BSR address is derived to make it a candidate. This interface must 
be enabled with PIM. Valid interfaces include physical ports, port 
channels, and VLANs.
  • For hash-mask-length, specify the mask length (32 bits maximum) 
that is to be ANDed with the group address before the hash function 
is called. All groups with the same seed hash correspond to the same 
RP. For example, if this value is 24, only the first 24 bits of the group 
addresses matter.
  • (Optional) For priority, enter a number from 0 to 255. The BSR with 
the larger priority is preferred. If the priority values are the same, 
the device with the highest IP address is selected as the BSR. The 
default is 0.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify your entries.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.