The hello-option dr-priority command configures the priority of the switch that candidates for the Designated Router (DR).
The undo hello-option dr-priority command restores the default priority.
By default, the priority of the switch that candidates for the DR is 1.
Parameter | Description | Value |
---|---|---|
priority | Specifies the priority of the switch that candidates for the DR. The greater the value, the higher the priority. | The value is an integer ranging from 0 to 4294967295. |
Usage Scenario
On a PIM network, switches on a shared network segment are candidates for the DR. The DR is responsible for registration of local multicast sources and the joining of receivers.
The DR is elected based on the priority and the IP address. Candidates send Hello messages with their priorities, and the switch with the highest priority becomes the DR. If multiple switches have the same priority, the switch with the largest IP address becomes the DR.
If at least one switch in the network does not support Hello packets that contain the priority, the switch with the largest IP address becomes the DR.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
The hello-option dr-priority command has the same function as the pim hello-option dr-priority command in the interface view. By default, if the pim hello-option dr-priority command is not used, the value configured in the PIM view is used; otherwise, the value configured in the interface view is used.