The c-rp priority command configures the global priority of a C-RP.
The undo c-rp priority command restores the default configuration.
By default, the global priority of a C-RP is 0.
Parameter | Description | Value |
---|---|---|
priority | Specifies the global priority of a C-RP. The greater the value, the lower the priority. | The value is an integer that ranges from 0 to 255. |
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 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
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
You can run the c-rp interface-type interface-number priority priority command in the PIM view to configure the C-RP interface and specify the C-RP priority. The c-rp priority priority command specifies the global C-RP priority. If both c-rp interface-type interface-number priority priority and c-rp priority priority are used, the c-rp interface-type interface-number priority priority command takes effect.