# address message-digest-key md5

#### Syntax

address { ipAddress | unnumbered interfaceType interfaceSpecifier }
message-digest-key keyID md5 [ 0 | 8 ] msgDigestKey

no address { ipAddress | unnumbered interfaceType interfaceSpecifier }
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 need to configure MD5 keys. To disable MD5 authentication for the interface, use the address authentication-none command. You must issue the address area command before issuing this command.

#### Options

- ipAddress—OSPF interface address previously specified with the address command
- unnumbered—Indicates that OSPF is running on an unnumbered interface previously specified with the address command
  - interfaceType—Interface type; see Interface Types and Specifiers
  - interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- 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

Router Configuration