ip ospf authentication
Syntax
ip ospf authentication {message-digest | simple-text | null | keychain} no ip ospf authentication
描述
Sets the authentication type that will be used for authentication with the neighbor router.
The没有
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-vlan
Parameters
Choose one of the following authentication types.
-
message-digest
-
Sets authentication type as message-digest.
-
简单的文本
-
Sets authentication type as simple-text.
-
null
-
Sets authentication type as null.
-
keychain
-
Sets the authentication type to use the key chain.
权威
Administrators or local user group members with execution rights for this command.
Examples
Setting OSPF authentication type on the interface:
switch(config)#interface vlan 1switch(config-if-vlan)#ip ospf authentication simple-text
Deleting OSPF authentication type on the interface and sets it to null:
switch(config)#interface vlan 1switch(config-if-vlan)#没有ip ospf盟thentication