beautypg.com

Ip ospf priority – LevelOne GTL-2691 User Manual

Page 1499

background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1499 –

D

EFAULT

S

ETTING

MD5 authentication is disabled.

C

OMMAND

U

SAGE

Before specifying MD5 authentication for an interface with the

ip ospf

authentication

command, configure the message-digest key-id and key

with this command.

Normally, only one key is used per interface to generate authentication

information for outbound packets and to authenticate incoming

packets. Neighbor routers must use the same key identifier and key

value.

When changing to a new key, the router will send multiple copies of all

protocol messages, one with the old key and another with the new key.

Once all the neighboring routers start sending protocol messages back

to this router with the new key, the router will stop using the old key.

This rollover process gives the network administrator time to update all

the routers on the network without affecting the network connectivity.

Once all the network routers have been updated with the new key, the

old key should be removed for security reasons.

E

XAMPLE

This example sets a message-digest key identifier and password.

Console(config)#interface vlan 1

Console(config-if)#ip ospf message-digest-key 1 md5 aiebel

Console(config-if)#

R

ELATED

C

OMMANDS

ip ospf authentication (1494)

ip ospf priority

This command sets 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.

S

YNTAX

ip ospf [ip-address] priority priority
no ip ospf [ip-address] priority

ip-address - This parameter can be used to indicate a specific IP

address connected to the current interface. If not specified, the

command applies to all networks connected to the current interface.
priority - Sets the interface priority for this router. (Range: 0-255)

C

OMMAND

M

ODE

Interface Configuration (VLAN)