C
OMMAND
L
INE
I
NTERFACE
4-356
ip ospf authentication
This command specifies the authentication type used for an interface. Enter
this command without any optional parameters to specify plain text (or
simple password) authentication. Use the no form to restore the default of
no authentication.
Syntax
ip ospf authentication [message-digest | null]
no ip ospf authentication
• message-digest - Specifies message-digest (MD5) authentication.
• null - Indicates that no authentication is used.
Command Mode
Interface Configuration (VLAN)
Default Setting
No authentication
Command Usage
• Before specifying plain-text password authentication for an interface,
configure a password with the ip ospf authentication-key command.
Before specifying MD5 authentication for an interface, configure the
message-digest key-id and key with the ip ospf message-digest-key
command.
• The plain-text authentication-key, or the MD5 key-id and key, must be
used consistently throughout the autonomous system.
Example
This example enables message-digest authentication for the specified
interface.
Related Commands
ip ospf authentication-key (4-357)
ip ospf message-digest-key (4-358)
Console(config)#interface vlan 1
Console(config-if)#ip ospf authentication message-digest
Console(config-if)#