The hello-option dr-priority command configures the designated router (DR) priority for the switch.
The undo hello-option dr-priority command restores the default DR priority.
By default, the DR priority for the switch is 1.
Parameter | Description | Value |
---|---|---|
priority | Specifies the DR priority of the switch. | The value is an integer that ranges from 0 to 4294967295. The greater the value, the higher the priority. |
Usage Scenario
On an IPv6 PIM-SM network, switches on a shared network segment are candidates for the DR. The DR is responsible for the registering of the local multicast source and the joining of the receivers.
The DR is elected based on the priority and the IPv6 address. The switches send Hello messages carrying the priority for DR election. The switch with the highest priority becomes the DR. If the switches have the same priority, the switch with the largest IPv6 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 IPv6 address functions as the DR.
Prerequisites
IPv6 multicast routing has been enabled globally using the multicast ipv6 routing-enable command in the system view.
Precautions
The hello-option dr-priority command has the same function as the pim ipv6 hello-option dr-priority command in the interface view. By default, if the pim ipv6 hello-option dr-priority command is not used, the value configured in the PIM-IPv6 view is used; otherwise, the value configured in the interface view is used.