< Home

ospfv3 dr-priority

Function

The ospfv3 dr-priority command sets the priority of an interface that takes part in the designated router (DR) or backup designated router (BDR) election.

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

Format

ospfv3 dr-priority priority [ instance instance-id ]

undo ospfv3 dr-priority [ priority ] [ instance instance-id ]

Parameters

Parameter Description Value
priority Specifies the priority of the interface that candidates for DR or BDR. The value is an integer ranging from 0 to 255. By default, it is 1.
instance instance-id Specifies the instance ID of the interface. The value is an integer ranging from 0 to 255. By default, it is 0.

Views

Ethernet interface view, Ethernet sub-interface view, Eth-Trunk interface view, Eth-Trunk sub-interface view, Tunnel interface view, Dialer interface view, VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

The priority of the interface determines the qualification of the interface when electing DR or BDR. The interface with the higher priority is preferred.

Example

# Set the priority of instance 1 for electing DR to 8 on GigabitEthernet0/0/0.

<sysname> system-view
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] ipv6 enable
[sysname-GigabitEthernet0/0/0] ospfv3 dr-priority 8 instance 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >