ip ospf priority (for a VLAN)

Configure the OSPF priority for the VLAN during the election process for the designated router. The VLAN with the highest priority number is the best candidate for the designated router. If you configure the priority to 0, the VLAN cannot become either the designated router or a backup designated router.

Syntax

Command Parameters

<0-255>
Specifies the priority range.

Default

The default is 1.

Command Mode

VLAN Interface Configuration