set protocols pimsm4 bootstrap cand-bsr scope-zone hash-mask-len
The set protocols pimsm4 bootstrap cand-bsr scope-zone hash-mask-len command configures the hash mask length that is used in the hash calculation for the dynamic RP election.
Command Syntax
set protocols pimsm4 bootstrap cand-bsr scope-zone <IPv4Net> hash-mask-len <hash-length>
Parameter
Parameter | Description |
scope-zone <IPv4Net> | Specifies a range of multicast scope zone that can serve on the C-BSR. The value can be any sub-range of 224.0.0.0/4. |
hash-mask-len <hash-length> | Specifies the hash mask length. The value is an integer that ranges from 4 to 32. The default value is 30. |
Usage Guidelines
During dynamic RP election, if C-RPs have the same interface address and priority for a specified multicast group, a hash function needs to be calculated to select the RP for the multicast group. The switch performs hash calculation for the group address of G, C-RP address, and hash mask length of the C-RPs with the same priority and compares the hash values. The C-RP with the greatest hash value acts as the RP for the G. The hash mask length is used to adjust the hash calculation result.
Example
- Set the hash mask length in scope zone 239.0.0.0/8 to 16.
admin@Xorplus# set protocols pimsm4 bootstrap cand-bsr scope-zone 239.0.0.0/8 hash-mask-len 16 admin@Xorplus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.