beautypg.com

Ip ospf priority – Allied Telesis AT-S83 User Manual

Page 332

background image

Chapter 15: Open Shortest Path First (OSPF) Commands

332

IP OSPF PRIORITY

Syntax

ip ospf (A.B.C.D) priority PRIORITY <0-255>

no ip ospf (A.B.C.D) priority

Parameters

A.B.C.D

Specifies the IP address of the interface. This is an

optional parameter.

PRIORITY

Specifies the router priority of the interface. Choose a

value between 0 and 255. The default value is 1.

Description

Use the IP OSPF NETWORK command to set the router priority to
determine the OSPF Designated Router (DR) for a network. When
configuring this command, use the following guidelines:

ˆ

If two routers attempt to become the DR, the router with the higher
router priority becomes the DR.

ˆ

If the router priority is the same for two routers, the router with the
higher router ID takes precedence.

ˆ

Only routers with nonzero router priority values are eligible to become
the designated or backup-designated router.

ˆ

Configure the router priority for multiaccess networks only and not for
point-to-point networks.

Use the no form of this command to return it to the default value. The
default priority is 1.

Command Mode

Interface mode

Example

The following example shows setting the OSPF priority value to 3 on
interface 2:

switch# configure terminal

switch(config)# interface xe2

switch(config-if)# ip ospf priority 3