The set protocols pimsm4 static-rps rp group-prefix hash-mask-len command configures the hash mask length of a static RP.
set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net> hash-mask-len <hash-length>
Specifies address of a static RP. The address is in dotted decimal notation.
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.
Specifies the hash mask length of a static RP.
The value is an integer that ranges from 4 to 32. The default value is 30.
When multiple C-RPs or static RPs is configured, a hash mask length can be used in the process of RP election:
- 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 hash mask length of a static RP to 15.