set protocols pimsm4 static-rps rp group-prefix hash-mask-len
The set protocols pimsm4 static-rps rp group-prefix hash-mask-len command configures the hash mask length of a static RP.
Command Syntax
set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net> hash-mask-len <hash-length>
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. |
hash-mask-len <hash-length> | 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. |
Usage Guidelines
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.
Example
- Configure the hash mask length of a static RP to 15.
admin@Xorplus# set protocols pimsm4 static-rps rp 10.100.0.2 group-prefix 239.0.0.0/8 hash-mask-len 15 admin@Xorplus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.