ip ospf message-digest-key md5
Syntax
ip ospf authentication message-digest
ip ospf message-digest-key {Key ID 1-255} md5 {ciphertext | plaintext} <KEY>
no ip ospf message-digest-key {key-id 1-255}
Description
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
no
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.
<KEY>
Specifies the password for md5 (message-digest) authentication.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Setting OSPF message-digest authentication password on the interface:
switch(config)# interface vlan 1 switch(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 1 switch(config-if-vlan)# no ip ospf message-digest-key {key-id 1-255}