Configuring a BSR

Configure the router to advertise itself as the Candidate Bootstrap Router (Candidate-BSR) for the PIM-SM domain.

Prerequisites
You must be in the PIM configuration context, as indicated by the switch(config-pim)# prompt.

PIM-SM must be enabled on the interface used as the source IP interface.

Procedure
  1. Configure a Candidate-BSR using the following command.

    bsr-candidate source-ip-interface <INTERFACE-NAME>

    For example, the following command configures a Candidate-BSR using interface 1/1/4 as the source for the router IP address. This command can also be applied to an L3 VLAN or L3 LAG.
    switch(config)# router pim
    switch(config-pim)# bsr-candidate source-ip-interface 1/1/4

    For a Candidate-BSR, you can configure various options as shown in the following steps.

  2. Configure the bootstrap message (BSM) interval for sending periodic RP-Set messages using the following command.

    bsr-candidate bsm-interval <INTERVAL-VALUE>

    For example, the following command configures a bootstrap message interval of 150 seconds:
    switch(config)# router pim
    switch(config-pim)# bsr-candidate bsm-interval 150
  3. Set the priority to apply to the router when a BSR election process occurs in the PIM-SM domain using the following command.

    bsr-candidate priority <PRIORITY-VALUE>

    For example, the following command configures the priority as 250:
    switch(config)# router pim
    switch(config-pim)# bsr-candidate priority 250
  4. Configure the length (in bits) of the hash-mask using the following command. Used to control the distribution of multicast groups among the C-RP in a domain where there is overlapping coverage of the groups among the RPs.

    bsr-candidate hash-mask-length <LENGTH-VALUE>

    For example, the following command configures the hash-mask length to 4:
    switch(config)# router pim
    switch(config-pim)# bsr-candidate hash-mask-length 4