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

Page 253

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 253 of 855

this command.


Command Syntax

ip ospf authentication [message-digest | null]
no ip ospf authentication

message-digest

(Optional) Specifies that message-digest authentication will be used.

null

(Optional) No authentication is used. Useful for overriding password
or message-digest authentication if configured for an area.


Default

The area default is no authentication (null authentication).


Command Mode

Interface configuration


Usage

Before using the ip ospf authentication command, configure a password for the interface using the ip
ospf authentication-key
command. If you use the ip ospf authentication message-digest
command, configure the message-digest key for the interface with the ip ospf message-digest-key
command.
For backward compatibility, authentication type for an area is still supported. If the authentication type
is not specified for an interface, the authentication type for the area will be used (the area default is null
authentication).


Examples

The following example enables message-digest authentication:
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

Advertising