C613-50631-01 Rev A Command Reference for IE340 Series 1140
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
OSPF COMMANDS
IP
OSPF AUTHENTICATION-KEY
ip ospf authentication-key
Overview This command specifies an OSPF authentication password for the neighboring
routers.
The no variant of this command removes the OSPF authentication password.
Syntax
ip ospf [<ip-address>] authentication-key <pswd-long>
no ip ospf [<ip-address>] authentication-key
Default No password specified
Mode Interface Configuration for a VLAN interface.
Usage notes This command creates a password (key) that is inserted into the OSPF header when
AlliedWare Plus™ 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.
Example To turn on authentication in area 0 and then create an authentication key named
‘very secure password’ on VLAN interface vlan2, use the commands:
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 vlan2
awplus(config-if)# ip ospf 3.3.3.3 authentication-key very
secure password
Related
commands
area authentication
ip ospf authentication
Parameter Description
<ip-address> The IPv4 address of the interface, in dotted decimal notation.
<pswd-long> The authentication password.
The string you enter at the end of the command line will be used.