Chapter 51
| Multicast Routing Commands
PIM Multicast Routing
– 1194 –
Default Setting
60 seconds
Command Mode
Interface Configuration (VLAN)
Command Usage
â—† The pruned state times out approximately every three minutes and the entire
PIM-DM network is reflooded with multicast packets and prune messages. The
state refresh feature keeps the pruned state from timing out by periodically
forwarding a control message down the distribution tree, refreshing the prune
state on the outgoing interfaces of each router in the tree. This also enables PIM
routers to recognize topology changes (sources joining or leaving a multicast
group) before the default three-minute state timeout expires.
â—† This command is only effectively for interfaces of first hop, PIM-DM routers that
are directly connected to the sources of multicast groups.
Example
Console(config-if)#ip pim state-refresh origination-interval 30
Console(config-if)#
PIM-SM Commands
ip pim bsr-candidate This command configures the switch as a Bootstrap Router (BSR) candidate. Use the
no form to restore the default value.
Syntax
ip pim bsr-candidate interface vlan vlan-id [hash hash-mask-length]
[priority priority]
no ip pim bsr-candidate
vlan-id - VLAN ID (Range: 1-4094)
hash-mask-length - Hash mask length (in bits) used for RP selection (see ip
pim rp-candidate and ip pim rp-address). The portion of the hash specified
by the mask length is ANDed with the group address. Therefore, when the
hash function is executed on any BSR, all groups with the same seed hash
will be mapped to the same RP. If the mask length is less than 32, then only
the first portion of the hash is used, and a single RP will be defined for
multiple groups. (Range: 0-32 bits)
priority - Priority used by the candidate bootstrap router in the election
process. The BSR candidate with the largest priority is preferred. If the
priority values are the same, the candidate with the larger IP address is
elected to be the BSR. Setting the priority to zero means that this router is
not eligible to server as the BSR. At least one router in the PIM-SM domain
must be set to a value greater than zero. (Range: 0-255)