T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
390
ip ospf authentication
Description
The
ip ospf authentication
command is used to configure the authentication
mode of the specified interface. To restore to default value, please use the
no ip
ospf authentication
command.
Syntax
ip ospf authentication
[
message-digest
] [
null
]
no ip ospf authentication
Parameter
message-digest
—— Specify the authentication type as MD5.
null
—— No authentication. By default it is no authentication.
If no authentication mode is specified here, the default mode will be simple
authentication.
Command Mode
Interface Configuration Mode
Example
Configure the authentication type of interface VLAN 2 as MD5:
T2700G-28TQ(config-if)# ip ospf authentication message-digest
ip ospf authentication-key
Description
The
ip ospf authentication-key
command is used to configure the key of the
simple authentication. To cancel this configuration, please use the
no ip ospf
authentication-key
command.
Syntax
ip ospf authentication-key
{ [ 0 ]
password
| 7
encrypted-password
}
no ip ospf authentication-key
Parameter
0 —— Specify the encryption type. 0 indicates that an unencrypted password
will follow. By default, the encryption type is 0.