ospfv3 dr-priority

Function

The ospfv3 dr-priority command sets the priority of an interface that runs for the DR or BDR.

The undo ospfv3 dr-priority command restores the default value.

By default, the priority is 1.

Format

ospfv3 dr-priority priovalue [ instance instanceId ]

undo ospfv3 dr-priority [ priovalue ] [ instance instanceId ]

Parameters

Parameter Description Value
priovalue

Specifies the priority of the interface that runs for the DR or BDR.

The value is an integer ranging from 0 to 255.

instance instanceId

Specifies the instance ID of an interface.

The value is an integer ranging from 0 to 255. The default value is 0.

Views

100GE interface view, 10GE interface view, 25GE sub-interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, Global VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ospf write

Usage Guidelines

Usage Scenario

The priority of an interface determines whether the interface is qualified to be a DR or BDR. The interface with the highest priority is elected as the DR or BDR. If the priority of an interface on a device is 0, the device cannot be elected as a DR or BDR. On a broadcast or an NBMA network, you can set the priority of an interface to control the DR or BDR selection.

Procedure

In OSPFv3, the DR priority cannot be configured for null interfaces.

Implementation Procedure

In OSPFv3, the DR priority cannot be configured for null interfaces.

Follow-up Procedure

Run the display ospfv3 interface command to view the DR and BDR on the network.

Example

# Set the priority of instance 1 on GigabitEthernet 0/1/0 that runs for the DR or BDR to 8.
<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] quit
[*HUAWEI] interface GigabitEthernet 0/1/0
[*HUAWEI-GigabitEthernet0/1/0] ipv6 enable
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 1 area 0 instance 1
[*HUAWEI-GigabitEthernet0/1/0] ospfv3 dr-priority 8 instance 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >