ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
51
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1770
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.
Console(config)#interface vlan 1
Console(config-if)#ip ospf authentication message-digest
Console(config-if)#
RELATED COMMANDS
ip ospf authentication-key (1770)
ip ospf message-digest-key (1773)
ip ospf
authentication-key
This command assigns a simple password to be used by neighboring
routers to verify the authenticity of routing protocol messages. Use the no
form to remove the password.
SYNTAX
ip ospf [ip-address] authentication-key key
no ip ospf [ip-address] authentication-key
ip-address - This parameter can be used to indicate a specific IP
address connected to the current interface. If not specified, the
command applies to all networks connected to the current interface.
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
with the ip ospf authentication command, configure a password with
this command.
This command creates a password (key) that is inserted into the OSPF
header when routing protocol packets are originated by this device.
Assign a separate password to each network for different interfaces. All
neighboring routers on the same network with the same password will
exchange routing data.
A different password can be assigned to each network interface, but the
password must be used consistently on all neighboring routers
throughout a network (i.e., autonomous system).