ip ospf authentication
Syntax
ip ospf authentication {message-digest | simple-text | null}
no ip ospf authentication
Description
Sets the authentication type that will be used for authentication with the neighbor router.
The
no
form of this command deletes the authentication type used for a particular authentication with the neighbor router and sets to null authentication.
Command context
config-if
Parameters
Choose one of the following authentication types.
message-digest
Sets authentication type as message-digest.
simple-text
Sets authentication type as simple-text.
null
Sets authentication type as null.
Authority
Administrators
Examples
Setting OSPF authentication type on the interface:
switch# configure terminal switch(config)# interface 1/1/1 switch(config-if)# ip ospf authentication simple-text
Deleting OSPF authentication type on the interface and sets it to null:
switch# configure terminal switch(config)# interface 1/1/1 switch(config-if)# no ip ospf authentication