The md5-password all command enables LDP MD5 authentication in a batch for all LDP peers.
The undo md5-password all command disables LDP MD5 authentication in a batch for all LDP peers.
By default, MD5 authentication in a batch is disabled for all LDP peers.
Parameter | Description | Value |
---|---|---|
password |
Specifies an authentication password.
|
A password must not contain spaces. A simple text password is a string of 1 to 255 characters. A ciphertext password is a string of 1 to 255 characters. An MD5 ciphertext password is 20 bits to 432 bits long. The string can contain spaces if it is enclosed with double quotation marks ("). |
cipher |
Indicates a ciphertext password. |
- |
password-cipher |
Specifies an authentication password. |
A password must not contain spaces. The string can contain spaces if it is enclosed with double quotation marks ("). |
plain |
Indicates a simple text password. A simple text password is saved in simple text in a configuration file. This format poses risks. A ciphertext password is recommended. To improve device security, periodically modify the password. |
- |
Usage Scenario
MD5 authentication can be configured for a TCP connection over which an LDP session is established, improving security. LDP MD5 authentication generates a unique digest for an information segment to prevent LDP packets from being modified. LDP MD5 authentication is stricter than common checksum verification for TCP connections.
If a great number of LDP peers are configured, run the md5-password all command to enable MD5 authentication in a batch for all LDP peers.Configuration Impact
After the md5-password all command is run, MD5 authentication takes effect on all LDP peers. If MD5 authentication fails, an LDP session fails to be established.
Precautions