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., 22.214.171.124/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:
admin@Xorplus# set protocols pimsm4 bootstrap cand-rp group-prefix 126.96.36.199/8 rp-priority 5 admin@Xorplus# commit