pim ipv6 hello-option dr-priority

Function

The pim ipv6 hello-option dr-priority command sets the priority of a PIM interface for DR election.

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

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

Format

pim ipv6 hello-option dr-priority priority

pim ipv6 sm

undo pim ipv6 sm

undo pim ipv6 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, 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 an IPv6 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 IPv6 PIM interface, run the pim hello-option dr-priority command.

Prerequisites

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

Configuration Impact

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

Note:

Running the undo pim ipv6 sm command clears information about PIM neighbor relationships on an interface. If the interface is running IPv6 multicast services, the IPv6 multicast services will be interrupted. Therefore, exercise caution when using the undo pim ipv6 sm command.

Example

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