Command Line Interface
1080 1553-KDU 137 365 Uen D 2006-06-16
Example
7.26.38 ip ospf priority
This command sets the router priority used when determining the designated
router (DR) and backup designated router (BDR) for an area. Use the no form
to restore the default value.
Syntax
ip ospf priority <priority>
no ip ospf priority
priority - Sets the interface priority for this router. (Range: 0-255)
Command Mode
Interface Configuration (VLAN)
Default Setting
1
Command Usage
• Set the priority to zero to prevent a router from being elected as a DR or
BDR. If set to any value other than zero, the router with the highest
priority will become the DR and the router with the next highest priority
becomes the BDR. If two or more routers are tied with the same highest
priority, the router with the higher ID will be elected.
• If a DR already exists for an area when this interface comes up, the new
router will accept the current DR regardless of its own priority. The DR
will not change until the next time the election process is initiated.
Console(config)#interface vlan 1
Console(config-if)#ip ospf hello-interval 5
Console(config-if)#