ip ospf message-digest-key md5

Syntax

ip ospf message-digest-key md5 {ciphertext | plaintext} <KEY>

no ip ospf message-digest-key md5

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

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

Examples

Setting OSPF message-digest authentication password on the interface:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# ip ospf message-digest-key md5 ciphertext ASDhgdhfg
switch(config-if)# ip ospf message-digest-key md5 plaintext secure

Deleting OSPF message-digest authentication password on the interface:

switch# configure terminal
switch(config)# interface 1/1/1
switch(config-if)# no ip ospf message-digest-key md5