DGS-6604
ip ospf priority
ip ospf priority PRIORITY
no ip ospf prority
Syntax Description
PRIORITY
Default
Command Mode
Usage Guideline
Example
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ip ospf priority 3
CLI Reference Guide
Use this command to set the router priority to determine the designated router for
the network. The no form of this command will reset the priority to the default
value.
Specifies the priority of the router on the interface. The range is 0 to 255.
PRIORITY: 1
Interface configuration
Set the priority to help 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 nonzero 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.
The following example shows setting the OSPF priority value to 3 on VLAN 1
interface.
Verfiy the settings by entering the show ip ospf interface command.
ip ospf priority
282