Configuring BSRs and RPs for IPv6 PIM Sparse for a Specified VRF

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). You can configure BSRs and RPs for a virtual routing and forwarding (VRF) instance.

This task assumes that you have configured the VRF.
Note: It is possible to configure the device as a candidate for either BSR or RP for a specified VRF, 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 for a VRF.
    device(config)# ipv6 router pim vrf blue
  3. Configure Ethernet interface 1/1/3 as the BSR candidate for the specified VRF with a mask length of 32 and a priority of 64.
    device(config-ipv6-pim-router-vrf-blue)# 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-vrf-blue)# 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 for the specified VRF.
    device(config-ipv6-pim-router-vrf-blue)# 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 the configured RP candidate for a specified VRF, use the add option to explicitly add a range.
    device(config-ipv6-pim-router-vrf-blue)# 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 the configured RP candidate group ranges for a specified VRF, use the delete option to explicitly remove a range that was previously added.
    device(config-ipv6-pim-router-vrf-blue)# rp-candidate delete ff02::200:1 128
    This example deletes an address group from the VRF for which it is a candidate RP.

The following example configures the IPv6 PIM Sparse interface on port 1/1/3 as a BSR candidate for VRF blue, with a hash mask length of 32 and a priority of 64. The same interface is also configured as an RP candidate for VRF blue. An explicit group address range is added.

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