ip ospf message-digest-key md5
Syntax
ip ospf message-digest-key keyID md5 [ 0 | 8 ] msgDigestKey
no ip ospf message-digest-key keyID
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Enables OSPF MD5 authentication and configures the MD5 key. The no version deletes an MD5 key.
![]() | Note: If all the MD5 keys have been deleted, the authentication type is still MD5, but you must configure MD5 keys. To disable MD5 authentication for the interface, use the ip ospf authentication-none command. To display the password only in encrypted text, use the service password-encryption command. |
Options
- keyID—Key identifier in the range 1–255
- md5—Specifies use of the MD5 algorithm
- 0—Indicates the msgDigestKey is entered in unencrypted form (plaintext); this is the default option
- 8—Indicates the msgDigestKey is entered in encrypted form (ciphertext)
- msgDigestKey—OSPF password; string of up to 16 alphanumeric characters
Mode
Interface Configuration, Subinterface Configuration