/
set protocols pimsm4 bootstrap cand-rp group-prefix rp-priority

set protocols pimsm4 bootstrap cand-rp group-prefix rp-priority


The set protocols pimsm4 bootstrap cand-rp group-prefix rp-priority command configures the priority for a C-RP in a multicast group.


Command Syntax

set protocols pimsm4 bootstrap cand-rp group-prefix <IPv4Net> rp-priority <rp-priority>


Parameter

Parameter

Description

group-prefix <IPv4Net>

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., 239.0.0.0/8.

rp-priority <rp-priority>

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.


Usage Guidelines

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:

  1. The C-RP or static RP with highest priority wins.
  2. If multiple C-RPs or static RPs have the same priority, the C-RP or static RP with the largest hash value wins.
  3. If all the preceding factors are the same, the C-RP or static RP with the largest address wins.


Example

  • Configure the priority for a C-RP in a multicast group 239.0.0.0/8 to 5.
admin@Xorplus# set protocols pimsm4 bootstrap cand-rp group-prefix 239.0.0.0/8 rp-priority 5
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.