The set protocols pimsm4 bootstrap cand-bsr scope-zone cand-bsr-by-vif-name command configures a VLAN interface or loopback interface to use as the C-BSR in a multicast scope zone.
set protocols pimsm4 bootstrap cand-bsr scope-zone <IPv4Net> cand-bsr-by-vif-name <vif-interface-name>
Specifies a range of multicast scope zone that can serve on the C-BSR. The value can be any sub-range of 184.108.40.206/4.
Specifies a VLAN interface or loopback interface to use as the C-BSR.
To avoid frequent protocol changes caused by interface flapping, using loopback interfaces is recommended.
One or more C-BSRs need to be configured in a PIM-SM domain. A BSR is elected from C-BSRs. The IP address of the interface will be used in the process of BSR election:
- Each C-BSR considers itself as the BSR of the local PIM-SM domain and uses IP address of this interface as the address of the BSR to send Bootstrap messages.
- When a C-BSR receives a Bootstrap message from other devices, it compares the BSR in the received Bootstrap message with the current BSR. The BSR with the highest priority is preferred. If BSRs have the same priority, the BSR with a larger IP address is preferred. If the BSR carried in the received Bootstrap message is better than the current BSR, the C-BSR replaces its BSR address with the address of the BSR carried in the received Bootstrap message.
- Configure a C-BSR on vlan-2.