The c-rp priority command configures the global C-RP priority.
The undo c-rp priority command restores the default configuration.
By default, the global C-RP priority is 192.
Parameter | Description | Value |
---|---|---|
priority | Specifies the global C-RP priority. | The value is an integer that ranges from 0 to 255. A larger value indicates a lower priority. |
Usage Scenario
The following rules are used to elect an RP from multiple C-RPs, in descending order of precedence:
The C-RP with the interface address that has the longest mask wins.
The C-RP with highest priority wins.
The C-RP with the largest hash value wins.
The C-RP with the largest IPv6 address wins.
To enable a C-RP to function as an RP, you can run the c-rp priority command to increase the priority of the C-RP.
Prerequisites
IPv6 multicast routing has been enabled globally using the multicast ipv6 routing-enable command in the system view.
Precautions
You can also run the c-rp ipv6-address priority priority command in the PIM-IPv6 view to configure the C-RP priority while configuring a C-RP. The c-rp priority priority command specifies the global C-RP priority. If both the two commands are configured, the priority configured by the c-rp ipv6-address priority priority command takes effect.