ipv6 ospf priority
Use this command to set the router priority for determining 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 reset the value to default.
Command Syntax
ipv6 ospf priority <0-255>
ipv6 ospf priority <0-255> instance-id (<0-31>|<64-95>)
no ipv6 ospf priority instance-id (<0-31>|<64-95>)
Parameters
priority
Specify the router priority of the interface.
<0-255>
Specify the router priority of the interface. The default is 1.
instance-id
Specify the instance.
<0-31>
Interface instance ID for IPv6 unicast
<64-95>
Interface instance ID for IPv4 unicast.
Default
By default, priority is 1
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth0
(config-if)#ipv6 ospf priority 127
Last modified date: 08/28/2023