/
set protocols pimsm4 static-rps rp group-prefix rp-priority

set protocols pimsm4 static-rps rp group-prefix rp-priority


The set protocols pimsm4 static-rps rp group-prefix rp-priority command configures the priority of the specified RP router.


Command Syntax

set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net> rp-priority <rp-priority>


Parameter

Parameter

Description

rp <rp-address>

Specifies address of a static RP. The address is in dotted decimal notation.

group-prefix <IPv4Net>

Specifies the group prefix address served by the RP. The value is in the form of an IP address and prefix-length in the address/prefix-length format.

rp-priority <rp-priority>

Specifies the priority of the static RP in a multicast group. Smaller value means higher priority.

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 static RP in a multicast group 239.0.0.0/8 to 5.
admin@Xorplus# set protocols pimsm4 static-rps rp 10.100.0.2 group-prefix 239.0.0.0/8 rp-priority 5
admin@Xorplus# commit

Copyright © 2025 Pica8 Inc. All Rights Reserved.