Updating IPv6 PIM-Sparse Forwarding Entries with New RP Static Configuration

You can define a static RP instead of using the IPv6 PIM Sparse RP election process. After defining a static RP, you must clear out the old RP configuration.

It is recommended that you use the IPv6 PIM Sparse protocol’s RP election process so that a backup RP can automatically take over if the active RP router becomes unavailable. However, if you do not want the RP to be selected by the RP election process but instead you want to explicitly identify the RP by IPv6 address, use the rp-address command.

If you explicitly specify the RP, the device uses the specified RP for all group-to-RP mappings and overrides the set of candidate RPs supplied by the BSR.

Note: Specify the same IPv6 address as the RP on all IPv6 PIM Sparse devices within the IPv6 PIM Sparse domain. Make sure the device is on the backbone or is otherwise well connected to the rest of the network.

If you make changes to your static RP configuration, the entries in the IPv6 PIM-Sparse multicast forwarding table continue to use the old RP configuration until they are aged out.

The clear pim rp-map command allows you to update the entries in the static multicast forwarding table immediately after making RP configuration changes. This command is meant to be used with rp-address command.

  1. Enter global configuration mode.
    device# configure terminal
  2. Globally enable IPv6 PIM.
    device(config)# ipv6 router pim
  3. Create a static RP IPv6 address.
    device(config-ipv6-pim-router)# rp-address 31::207
    The command in this example identifies the device interface at IPv6 address 31::207 as the RP for the IPv6 PIM Sparse domain. The device uses the specified RP and ignores group-to-RP mappings received from the BSR.
  4. Exit to Privileged EXEC configuration mode.
    device(config-ipv6-pim-router)# end
  5. To update the entries in a IPv6 PIM sparse static multicast forwarding table with new RP configuration, you must clear out the old RP entries.
    device# clear ipv6 pim rp-map

The following example configures a static RP for the IPv6 PIM Sparse domain and clears out existing RP entries.


device# configure terminal
device(config)# ipv6 router pim
device(config-ipv6-pim-router)# rp-address 207.95.7.1
device(config-ipv6-pim-router)# end
device# clear ipv6 pim rp-map