-168
Example

ip ospf priority

Use this command to set 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 bei ng 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.
Example
Console(config)#interface vlan 1
Console(config-if)#ip ospf hello-interval 5
Console(config-if)#
Console(config)#interface vlan 1
Console(config-if)#ip ospf priority 5
Console(config-if)#