The c-rp priority command configures the global priority of a C-RP.
The undo c-rp priority command restores the default configuration.
| Parameter | Description | Value |
|---|---|---|
| priority | Specifies the global priority of a C-RP. The greater the value is, the lower the priority is. | The value is an integer that ranges from 0 to 255. The default value is 0. |
Usage Scenario
The following rules are used to elect a Rendezvous Point (RP) from multiple C-RPs:
The C-RP wins if it serves the group address that users join has the longest mask.
The C-RP with highest priority wins.
In case of the same priority, hash functions are operated. The C-RP with the greatest calculated value wins.
If all the preceding factors are the same, 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
The multicast routing-enable command has been run.
Configuration Impact
If the c-rp priority command is run several times, the latest configuration overrides the previous one.
Precautions
The function of this command is the same as that of the c-rp interface-type interface-number priority priority command, except for the function range. The c-rp priority priority command is globally valid, while the c-rp interface-type interface-number priority priority command is valid for a specified interface only.
The system prefers the configuration done by using the c-rp interface-type interface-number priority priority command. When the c-rp interface-type interface-number priority priority command is not run, the configuration done by using the c-rp priority priority command is used.