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

config-if-vlan

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 or local user group members with execution rights for this command.

Examples

Setting OSPF authentication type on the interface:

switch(config)# interface vlan 1
switch(config-if-vlan)# ip ospf authentication simple-text

Deleting OSPF authentication type on the interface and sets it to null:

switch(config)# interface vlan 1
switch(config-if-vlan)# no ip ospf authentication