R3303-HP HSR6800 Routers MPLS Command Reference

52
[Sysname-mpls-ldp-vpn-instance-vpn1] lsr-id 4.2.2.3
md5-password
Use md5-password to enable LDP MD5 authentication and set the key.
Use undo md5-password to restore the default.
Syntax
md5-password { cipher | plain } peer-lsr-id password
undo md5-password peer-lsr-id
Default
LDP MD5 authentication is disabled.
Views
MPLS LDP view, MPLS LDP VPN instance view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext key.
plain: Sets a plaintext key.
peer-lsr-id: Specifies the MPLS LSR ID of a peer.
password: Specifies the key string. This argument is case sensitive. If plain is specified, it must be a
string of 1 to 16 characters. If cipher is specified, it must be a ciphertext string of 1 to 53 characters.
Usage guidelines
The key configured locally must be the same as that configured on the peer.
Changing the key will remove the sessions and all related LSPs and then reestablish them.
This command takes effect only after MPLS LDP is enabled in the corresponding view.
For security purposes, all keys, including keys configured in plain text, are saved in cipher text to the
configuration file.
Examples
# Enable LDP MD5 authentication for peer 3.3.3.3 in the public network, and configure a plaintext key
of pass.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] md5-password plain 3.3.3.3 pass
# Enable LDP MD5 authentication for peer 3.3.3.3 in VPN instance vpn1, and configure a plaintext key
of pass.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] md5-password plain 3.3.3.3 pass