/
protocols ospf4 area interface vif address priority
protocols ospf4 area interface vif address priority
To configure the OSPF interface priority used in DR election, use the set protocols ospf4 area interface vif address priority command in L2/L3 configuration mode.
Command Syntax
set protocols ospf4 area area-id interface interface-name vif vif-name address ip-address priority level
Parameters
area-id | OSPF area identifier. Use the dotted decimal notation. For example, use 0.0.0.0 for area 0. |
interface-name | Interface name. |
vif-name | Virtual interface name. |
ip-address | Virtual interface IP address for OSPF. |
level | The OSPF interface priority used in the DR (Designated Router) election. The range is 0-255. |
Example
The following example configures the OSPF interface the priority 8 in DR election.
admin@Switch# set protocols ospf4 area 0.0.0.0 interface vlan2 vif vlan2 address 10.2.2.1 priority 8
Copyright © 2025 Pica8 Inc. All Rights Reserved.