Configuring BSRs and RPs for IPv6 PIM Sparse

After enabling IPv6 PIM SM globally and locally, you need to identify an interface on at least one device as a candidate IPv6 PIM Sparse Bootstrap router (BSR) and candidate IPv6 PIM Sparse rendezvous point (RP).

This task assumes that you have configured IPv6 PIM SM globally and on local interfaces.
Note: It is possible to configure the device as a candidate for either BSR or RP, but it is recommended that you configure the same interface on the same device as both a BSR and an RP.
  1. Enter global configuration mode.
    device# configure terminal
  2. Globally enable IPv6 PIM.
    device(config)# ipv6 router pim
  3. Configure Ethernet interface 1/1/3 as the BSR candidate with a mask length of 32 and a priority of 64.
    device(config-ipv6-pim-router)# bsr-candidate ethernet 1/1/3 32 64
    The hash number after the interface configuration specifies the number of bits in a group address that are significant when calculating the group-to-RP mapping. The hash value is from 1 through 32. It is recommended that you specify a value of 30 for IP version 4 (IPv4) networks. BSR priority can be configured as a value from 0 through 255. When the election process for BSR takes place, the candidate BSR with the highest priority becomes the BSR. The default is 0.
  4. Set the IPv6 PIM BSR message interval timer to 16 seconds.
    device(config-ipv6-pim-router)# bsr-msg-interval 16
    The BSR message interval timer defines the interval at which the BSR sends RP candidate data to all IPv6-enabled routers within the IPv6 PIM Sparse damain. The default interval value is 60.
  5. Configure the device as a candidate RP.
    device(config-ipv6-pim-router)# rp-candidate ethernet 1/1/3
    By default, this command configures the device as a candidate RP for all group numbers beginning with 224. As a result, the device is a candidate RP for all valid PIM Sparse group numbers. You can change this by adding or deleting specific address ranges.
  6. (Optional) To add a group number range for which the device is a candidate RP, use the add option to explicitly add a range.
    device(config-ipv6-pim-router)# rp-candidate add ff02::200:2 64
    The group-addr mask-bits variable specifies the group address and the number of significant bits in the subnet mask. When you add a range, you override the default. The device then becomes a candidate RP only for the group address ranges you add.
  7. (Optional) To delete a group number range for which the device is a candidate RP, use the delete option to explicitly remove a range that was previously added.
    device(config-ipv6-pim-router)# rp-candidate delete ff02::200:1 128
    This example deletes an address group from the devices for which it is a candidate RP.
  8. To specify how frequently the candidate RP configured on the device sends candidate RP advertisement messages to the BSR, use the rp-adv-interval command.
    device(config-ipv6-pim-router)# rp-adv-interval 180
    This example specifies the RP advertisement interval of 180. The values range from 10 through 65535 seconds. The default is 60.

The following example configures the IPv6 PIM Sparse interface on port 1/1/3 as a BSR candidate, with a hash mask length of 32 and a priority of 64. The same interface is also configured as an RP candidate. An explicit group address range is configured and the device is now a candidate RP for prefixes starting with ff02::200:2. The RP advertisement interval is set to 180 seconds.

device# configure terminal
device(config)# ipv6 router pim
device(config-ipv6-pim-router)# bsr-candidate ethernet 1/1/3 32 64
device(config-ipv6-pim-router)# bsr-msg-interval 16
device(config-ipv6=pim-router)# rp-candidate ethernet 1/1/3
device(config-ipv6-pim-router)# rp-candidate add ff02::200:2 64
device(config-ipv6-pim-router)# rp-adv-interval 180