IP Routing Commands
4-277
4
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-277)
ip ospf message-digest-key (4-278)
ip ospf authentication-key
This command assigns 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-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.
• 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).
Console(config)#interface vlan 1
Console(config-if)#ip ospf authentication message-digest
Console(config-if)#