Configuring PIM-SM support in the router PIM context

This example assumes the following:
  • IP routing, IP multicast routing, and at least one routing method (RIP, OSPF, and/or static IP routes) are already configured in the global configuration context.

  • An IP routing method (RIP or OSPF) and PIM-sparse are already configured in the static VLAN context on which you want to support PIM-SM operation.


Routers configured for C-RP operation can also be configured for C-BSR operation.

Use of static RP operation must be identically configured on all PIM-SM routers in the domain.

Example of enabling PIM-SM in the router PIM context illustrates the following configuration steps for the router PIM context:
  • Enabling BSR operation on the router, including specifying a source IP address.

  • Enabling C-RP operation on the router.

  • Replacing the default multicast group range (all) with a smaller range ( and a single group address (

  • Enabling static RP with an override on this router for a single group address ( within the range of the C-RP support for the group.

  • Leaving the other router PIM fields in their default settings.

Example of enabling PIM-SM in the router PIM context

The next figure illustrates the results of the above commands in the router's running configuration.

Configuration results of the commands in Example of enabling PIM-SM in the router PIM context

switch(pim)# show running configuration:
router pim
   bsr-candidate source-ip-vlan 120 
   bsr-candidate priority 1
   rp-candidate source-ip-vlan 120
   rp-candidate group-prefix 
   rp-candidate group-prefix
   rp-candidate hold-time 150