ip ospf priority

Last Updated : Nov 06, 2012 |

Configures interface priority, which is used during the election of a designated router. Use no ip ospf priority to set the OSPF priority to its default value.

Syntax

ip ospf priority priority

no ip ospf priority

Parameters

Parameter

Description

Possible Values

Default Value

priority

The interface priority

0-255

1

User level

read-write

Context

interface:FastEthernet (L2-L3, L3, PPP L2-L3, PPP L3), VLAN (L2-L3, L3), Loopback (L2-L3, L3), Tunnel (L2-L3, L3), Dialer (L2-L3, L3)

Example

To set the interface OSPF priority to 17:

Gxxx-001(if:Vlan 1)# ip ospf priority 17