T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
391
password
—— Super password, a string from 1 to 8 alphanumeric characters or
symbols. The password is case sensitive, allows spaces but ignores leading
spaces, and cannot contain question marks. By default, it is empty.
7 —— Indicates a symmetric encrypted password with a fixed length will follow.
encrypted-password
—— A symmetric encrypted password with a fixed length,
which you can copy from another switch configuration. After the encrypted
password is configured, you should use the corresponding unencrypted
password if you re-enter this mode.
Command Mode
Interface Configuration Mode
User Guidelines
If the password you configured here is unencrypted and the global encryption
function is enabled in
service password-encryption
, the password in the
configuration file will be displayed in the symmetric encrypted form.
Example
Configure the authentication mode of interface VLAN 2 as simple authentication,
and the password as 123:
T2700G-28TQ(config)#interface vlan
2
T2700G-28TQ(config-if)# ip ospf authentication-key
123
ip ospf message-digest-key
Description
The
ip ospf message-digest-key
is used to configure the ID and password of
the md5 authentication on the specified interface. To cancel the configuration,
please use
no ip ospf message-digest-key
command.
Syntax
ip ospf message-digest-key
id
md5
{ [ 0 ]
password
| 7
encrypted-password
}
no ip ospf message-digest-key
id
Parameter
id
—— The ID of the md5 authentication key, ranging from 1 to 255.
0 —— Specify the encryption type. 0 indicates that an unencrypted password
will follow. By default, the encryption type is 0.