15 ip ospf authentication-key – CANOGA PERKINS 9175 Command Reference User Manual

Page 223

Advertising
background image

CanogaOS Command Reference

15-14

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


Related Commands

area authentication

ip ospf authentication-key

ip ospf message-digest-key

15.15 ip ospf authentication-key

To assign a password to be used by neighboring routers that are using the Open Shortest Path First

(OSPF) simple password authentication, use the ip ospf authentication-key command in interface

configuration mode. To remove a previously assigned OSPF password, use the no form of this

command.


Command Syntax

ip ospf authentication-key password

no ip ospf authentication-key

password

Any continuous string of characters that can be entered from the keyboard up to 8

bytes in length.


Default

No password is specified.


Command Mode

Interface configuration


Usage

The password created by this command is used as a “key” that is inserted directly into the OSPF header

when the switch originates routing protocol packets. A separate password can be assigned to each

network on a per-interface basis. All neighboring routers on the same network must have the same

password to be able to exchange OSPF information.


Examples

The following example enables the authentication key with the string yourpass:

Switch(config-if)# ip ospf authentication-key yourpass


Related Commands

area authentication

ip ospf authentication

Advertising