pim hello-option dr-priority

Function

The pim hello-option dr-priority command configures a designated router (DR) election priority for a PIM interface.

The undo pim hello-option dr-priority command restores the default priority.

By default, the DR election priority of a PIM interface is 1.

Format

pim hello-option dr-priority priority

undo pim hello-option dr-priority

Parameters

Parameter Description Value
priority

Specifies a DR election priority. A larger value indicates a higher priority.

The value is an integer ranging from 0 to 4294967295.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, Loopback interface view, PW-VE sub-interface view, Tunnel interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view, Virtual template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pim write

Usage Guidelines

Usage Scenario

On a PIM-SM shared network segment, a DR is dynamically elected among candidate Router interfaces. DR election is based on priorities and IP addresses of interfaces on Routers. In a DR election process, Routers exchange Hello messages carrying DR election priorities.

  • If all Routers support Hello messages that carry DR election priorities, the interface with the highest DR election priority wins. If all interfaces have the same DR election priority, the interface with the largest IP address wins.
  • If one or more Routers do not support Hello messages that carry DR priorities, the interface with the largest IP address wins.

    To change the DR election priority of an interface, run the pim hello-option dr-priority command.

Prerequisites

The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.

Configuration Impact

If the pim hello-option dr-priority command is run more than once, the latest configuration overrides the previous one.

Example

# Set the DR election priority to 3 for GE 0/1/0.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] undo portswitch
[*HUAWEI-GigabitEthernet0/1/0] pim hello-option dr-priority 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >