Managing IPv4 and IPv6 Multicast 1205
Configuring and Viewing PIM-SM for IPv4 Multicast Routing
Beginning in Privileged EXEC mode, use the following commands to 
configure PIM-SM for IPv4 multicast routing on the switch and on VLAN 
routing interfaces and to view PIM-SM information.
Command Purpose
configure Enter global configuration mode.
ip pim sparse Enable PIM-SM as the multicast routing protocol on 
the switch.
ip pim spt-threshold 
threshold
 
Set the Data Threshold rate, in Kbps (range: 0–2000) 
for the last-hop (or leaf) router to switch to the 
shortest path. 
ip pim register-threshold 
threshold
 
Set the rate, in Kbps (range: 0–2000), above which the 
Rendezvous Point router will switch to a source-
specific shortest path tree.
ip pim bsr-candidate vlan 
vlan-id hash-mask-length
 
[
priority
]
Configure the switch to announce its candidacy as a 
bootstrap router (BSR).
•
vlan-id
 — A valid VLAN ID.
•
hash-mask-length
 — The length of a mask 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. This allows you to get one RP for 
multiple groups. (Range 0–32 bits).
•
priority
 — The priority of the candidate BSR. The 
BSR with the higher priority is preferred. If the 
priority values are the same, the router with the 
higher IP address is the BSR. (Range 0–255).
ip pim rp-candidate vlan 
vlan-id group-address group-
mask
Configure the router to advertise itself as a PIM 
candidate rendezvous point (RP) to the bootstrap 
router (BSR). 
•
vlan-id
 — A valid VLAN ID.
•
group-address
 — Group IP address supported by RP.
•
group-mask
 — Group subnet mask for group 
address.