OSPF Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
30.27
ip ospf authentication-key
This command specifies an OSPF authentication password for the neighboring routers.
This command creates a password (key) that is inserted into the OSPF header when
AlliedWare Plus
TM
software originates routing protocol packets. Assign a separate password to
each network for different interfaces. All neighboring routers on the same network with the
same password exchange OSPF routing data.
The key can be used only when authentication is enabled for an area. Use the
area
authentication
command to enable authentication.
Simple password authentication allows a password to be configured for each area. Configure
the routers in the same routing domain with the same password.
By default, an authentication password is not specified.
The
no
form of this command removes the OSPF authentication password.
Syntax
ip ospf [<ip_address>] authentication-key <line>
no ip ospf [<ip_address>] authentication-key
Mode
Interface mode
Examples
In the following example, an authentication key test is created on interface vlan1 in area 0.
Note that first authentication is enabled for area 0.
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
network 10.10.10.0/24 area 0
awplus(config-router)#
area 0 authentication
awplus(config-router)#
exit
awplus(config)#
interface vlan1
awplus(config-if)#
ip ospf 3.3.3.3 authentication-key test
Related Commands
area authentication
ip ospf authentication
Parameter
Description
<ip_address>
The IPv4 address of the interface, in dotted decimal notation.
<line>
Specifies the authentication password. String by the end of line will be
taken.