< Home

hello-option dr-priority (IPv4)

Function

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.

Format

hello-option dr-priority priority

undo hello-option dr-priority

Parameters

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.

Views

PIM view of public network instance or PIM view of VPN instance

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 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.

Example

# In the PIM view of public network instance, configure the DR priority of a switch to 3.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] pim
[HUAWEI-pim] hello-option dr-priority 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >