The set protocols pimsm4 bootstrap cand-rp group-prefix rp-priority command configures the priority for a C-RP in a multicast group.
set protocols pimsm4 bootstrap cand-rp group-prefix <IPv4Net> rp-priority <rp-priority>
Specifies the range of multicast group that can serve on a C-RP. The value is an IPv4 multicast subnet address in the address/prefix-length format, e.g., 184.108.40.206/8.
Specifies the priority of the C-RP in a multicast group. The smaller the value, the higher the priority of the C-RP.
The value is an integer that ranges from 0 to 255. The default value is 192.
A PIM-SM router must either run the PIM-SM bootstrap mechanism to elect a dynamic RP, or have some RPs configured as static RP settings.
When both static RP and dynamic RP are configured, PIM routers will elect an RP from multiple C-RPs and the static RPs following these rules:
- The C-RP or static RP with highest priority wins.
- If multiple C-RPs or static RPs have the same priority, the C-RP or static RP with the largest hash value wins.
- If all the preceding factors are the same, the C-RP or static RP with the largest address wins.
- Configure the priority for a C-RP in a multicast group 220.127.116.11/8 to 5.