The pim ipv6 hello-option dr-priority command sets the priority for the PIM interface that is elected as DR.
The undo pim ipv6 hello-option dr-priority command restores the default value of the priority.
By default, the priority for the PIM interface that is elected as DR is 1.
Parameter | Description | Value |
---|---|---|
priority | Specifies the priority of the PIM interface that is elected as DR. | The value is an integer that ranges from 0 to 4294967295. The greater the value, the higher the priority. |
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, VLANIF interface view, loopback interface view
Usage Scenario
On a PIM (IPv6) network, devices 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. Switches send Hello messages carrying their priorities to each other, and the one 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 device in the network does not support Hello packets that contain the priority, the device with the largest IPv6 address functions as the DR.
Prerequisites
IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
The pim ipv6 hello-option dr-priority command has the same function as the hello-option dr-priority (IPv6) command in the PIM-IPv6 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.
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] pim ipv6 hello-option dr-priority 3
<HUAWEI> system-view [HUAWEI] multicast ipv6 routing-enable [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] pim ipv6 hello-option dr-priority 3