area interface IFNAME priority
Use this command to set the router priority to determine the designated router (DR) for the network.
• A router with the higher router priority becomes the DR. If the priority is the same for two routers, the router with the higher router ID takes precedence.
• Only routers with a nonzero priority value are eligible to become the designated or backup designated router. Configure router priority for broadcast or NBMA networks only and not for point-to-point networks.
Use the no parameter with this command to return to the default value.
Command Syntax
area (<0-4294967295> | A.B.C.D) interface <IFNAME> priority <0-255>
no area (<0-4294967295> | A.B.C.D) interface <IFNAME> priority
Parameters
A.B.C.D
OSPF area ID as an IPv4 address
<0-4294967295>
OSPF area ID as a decimal value
IFNAME
Specify the interface name
priority
Specify the router priority of the interface
<0-255>
Specify the router priority of the interface. The default value is 1
Default
By default, priority is 1.
Command Mode
Router mode
Applicability
This command was introduced in OcNOS version 6.3.0.
Examples
#configure terminal
(config)#router ospf 100
(config-router)#area 1 interface xe1 priority 3
Last modified date: 10/16/2023