The c-bsr hash-length command sets a global hash mask length for candidate-bootstrap routers (C-BSRs).
The undo c-bsr hash-length command restores the default value.
By default, the global hash mask length of C-BSRs is 126.
Usage Scenario
On an IPv6 PIM-SM network where a rendezvous point (RP) is dynamically elected using the BSR mechanism, each candidate-rendezvous point (C-RP) sends to the BSR an Advertisement message carrying the C-RP address, range of multicast groups that the C-RP serves, and C-RP priority. Then, the BSR collects all those information and the BSR hash mask length as an RP-set, encapsulates the RP-set into a bootstrap message, and advertises the message to all routers on the network. All routers use the RP-set and follow the same RP election rules to elect an RP for a specific group.
The RP election rules are as follows:Prerequisites
The multicast routing function has been enabled using the multicast ipv6 routing-enable command in the public network instance view.
Configuration Impact
If the c-bsr hash-length command is run more than once, the latest configuration overrides the previous one.
Precautions
A hash mask length configured for the global domain has the highest priority.
A global hash mask length configured using the c-bsr hash-length command is effective for all C-BSRs on the router. To change the hash mask length of a C-BSR on an interface, run the c-bsr command.The c-bsr command is valid only for the specified interface. The c-bsr command configuration takes precedence over the c-bsr hash-length command configuration.