DGS-6604
ipv6 ospf priority
CLI Reference Guide
354
ipv6 ospf priority
To set the router priority, which helps determine the designated router for this
network, use the
ipv6 ospf priority
. To return to the default value, use the no
form of this command.
ipv6 ospf priority
PRIORITY
[instance-id
INSTANCE-ID
]
no ipv6 ospf priority [instance-id
INSTANCE-ID
]
Default
Priority
: 1
INSTANCE-ID
: 0
Command Mode
Interface configuration
Usage Guideline
Setting the priority helps determine the OSPF Designated Router (DR) for a
network. If two routers attempt to become the DR, the router with the higher
router priority becomes the DR. If the router priority is the same for two routers,
the router with the higher router ID takes precedence.
Only routers with non-zero router priority values are eligible to become the
designated or backup designated router. Configure router priority for multi-
access networks (not point-to-point) only.
Example
The following example sets the router priority value to 4.
Syntax Description
PRIORITY
A number value that specifies the priority of the router. The range is from 0 to
255.
INSTANCE-ID
(Optional) Instance identifier.To change this ID, please configure "no" command
first.The valid setting is from 0 to 255.
Switch > enable
Switch # configure terminal
Switch (config)# interface vlan1
Switch (config-if)# ipv6 ospf priority 4