beautypg.com

Ip ospf authentication-key – LevelOne GTL-2691 User Manual

Page 1495

background image

C

HAPTER

49

| IP Routing Commands

Open Shortest Path First (OSPFv2)

– 1495 –

The plain-text authentication-key, or the MD5 key-id and key, must be

used consistently throughout the autonomous system.

E

XAMPLE

This example enables message-digest authentication for the specified

interface.

Console(config)#interface vlan 1

Console(config-if)#ip ospf authentication message-digest

Console(config-if)#

R

ELATED

C

OMMANDS

ip ospf authentication-key (1495)

ip ospf message-digest-key (1498)

ip ospf

authentication-key

This command assigns a simple password to be used by neighboring

routers to verify the authenticity of routing protocol messages. Use the no

form to remove the password.

S

YNTAX

ip ospf [ip-address] authentication-key key
no ip ospf [ip-address] authentication-key

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.
key - Sets a plain text password. (Range: 1-8 characters)

C

OMMAND

M

ODE

Interface Configuration (VLAN)

D

EFAULT

S

ETTING

No password

C

OMMAND

U

SAGE

Before specifying plain-text password authentication for an interface

with the

ip ospf authentication

command, configure a password with

this command.

This command creates a password (key) that is inserted into the OSPF

header when routing protocol packets are originated by this device.

Assign a separate password to each network for different interfaces. All

neighboring routers on the same network with the same password will

exchange routing data.

A different password can be assigned to each network interface, but the

password must be used consistently on all neighboring routers

throughout a network (i.e., autonomous system).