COMMAND LINE INTERFACE

ip ospf authentication-key

Use this command to assign a simple password to be used by neighboring routers. Use the no form to remove the password.

Syntax

ip ospf authentication-key key no ip ospf authentication-key

key - Sets a plain text password. (Range: 1-8 characters)

Command Mode

Interface Configuration (VLAN)

Default Setting

No password

Command Usage

Before specifying plain-text password authentication for an interface, configure a password with the ip ospf authentication-keycommand. Before specifying MD5 authentication for an interface, configure the message-digest key-id and key with the ip ospf message-digest-keycommand.

A different password can be assigned to each network interface basis, but the password must be used consistently on all neighboring routers throughout a network (i.e., autonomous system).

Example

This example sets a password for the specified interface.

Console(config)#interface vlan 1

Console(config-if)#ip ospf authentication-key badboy

Console(config-if)#

Related Commands

ip ospf authentication (4-263)

4-264

Page 550
Image 550
SMC Networks SMC6724L3 manual Ip ospf authentication-key, 264