ip ospf message-digest-key md5
Syntax
ip ospf authentication message-digest ip ospf message-digest-key<键id >md5 {ciphertext | plaintext} no ip ospf message-digest-key<键id >
描述
Sets the message digest password used for message digest authentication. If the md5 key is given in ciphertext, it will be decrypted and applied to the protocol.
The没有
form of this command deletes the message digest password used for message digest authentication.
Command context
config-if-vlan
Parameters
-
ciphertext
-
Specifies providing the md5 key in encrypted format.
-
plaintext
-
Specifies providing the md5 key in simple-text format.
-
<键id >
-
Specifies the password for md5 (message-digest) authentication. Range: 1 to 255.
权威
Administrators or local user group members with execution rights for this command.
Examples
设置OSPF message-digest authentication password on the interface:
switch(config)#interface vlan 1switch(config-if-vlan)#ip ospf message-digest-key 1 md5 ciphertext AQBapdAVzEZb205RmH33+4cEctMayhvmuOVeYmXs8Y7ANu2eBgAAABO5xecopg==switch(config-if-vlan)#ip ospf message-digest-key 1 md5 plaintext secure
Deleting OSPF message-digest authentication password on the interface:
switch(config)#interface vlan 1switch(config-if-vlan)#没有ip ospf message-digest-key 1