area authentication
Use this command to enable authentication for an OSPF area. Specifying the area authentication sets the authentication to Type 1 authentication or simple text password authentication (details in RFC 2328). Setting up a Type 1 authentication configures a 64-bit field for that particular network. All packets sent on this network must have this configured value in their OSPF header. This allows only routers that have the same passwords to join the routing domain. Give all routers that are to communicate with each other through OSPF the same authentication password.
Use the
ip ospf authentication-key command to specify a simple text password.
Use the
ip ospf message-digest-key command to specify an MD5 password.
Use the no parameter to remove the authentication specification for an area.
Command Syntax
area (A.B.C.D|<0-4294967295>) authentication
area (A.B.C.D|<0-4294967295>) authentication message-digest
no area (A.B.C.D|<0-4294967295>) authentication
Parameters
A.B.C.D
OSPF Area ID in IPv4 address format.
<0-4294967295>
OSPF Area ID as 4-octet unsigned integer value.
message-digest
Enables MD5 authentication in the specified area ID.
Default
Null authentication
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router ospf 100
(config-router)#area 1 authentication message-digest
(config)#router ospf 100
(config-router)#no area 1 authentication
Last modified date: 08/28/2023