< Home

pim hello-option dr-priority

Function

The pim hello-option dr-priority command sets the priority for the PIM interface that is elected as DR.

The undo pim 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.

Format

pim hello-option dr-priority priority

undo pim hello-option dr-priority

Parameters

Parameter Description Value
priority Specifies the priority of the PIM interface that is elected as DR. The greater the value, the higher the priority. The value is an integer ranging from 0 to 4294967295.

Views

GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, GE sub-interface view, XGE sub-interface view, MultiGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view, Eth-Trunk sub-interface view, VLANIF interface view, loopback interface view, tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

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 pim hello-option dr-priority command has the same function as the hello-option dr-priority (IPv4) command in the PIM 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.

Example

# Set the priority of VLANIF100 that is elected as DR to 3.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] pim hello-option dr-priority 3
# Set the priority of GE0/0/1 that is elected as DR to 3.
<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] pim hello-option dr-priority 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >