ip ospf priority

This command sets the RouterPriority integer value.

Syntax

ip ospf priority number [a.b.c.d]
no ip ospf priority [a.b.c.d] 

Command

Description

number

Defines the priority value in the range of 0-255.

a.b.c.d

Address of the interface

Default

1

Command Mode

Privileged User

Example

This example sets the RouterPriority integer value to 100.

(config-data)# interface vlan1 
(conf-if-VLAN 1)# ip ospf priority 100