/
set protocols ospf6 area interface vif priority

set protocols ospf6 area interface vif priority

To configure the priority of an OSPFv3 interface for DR election, use the protocols ospf6 area interface vif priority command in L2/L3 configuration mode.

Command Syntax

set protocols ospf6 vrf vrf-name area area-id interface interface-name vif vif-name priority level

Parameters

vrf-name

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

area-idOSPFv3 area identifier. Use the dotted decimal notation. For example, 0.0.0.0 for area 0.
interface-nameInterface name.
vif-nameVirtual interface name.
levelThe priority used in OSPFv3 DR (designated router) election. The range is 0-255. The 0 priority means the interface cannot become DR.

Example

The following example set the priority of OSPFv3 interface vlan2 as 8:

admin@Switch# set protocols ospf6 area 0.0.0.0 interface vlan2 vif vlan2 priority 8

Copyright © 2025 Pica8 Inc. All Rights Reserved.