R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

52
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
mpls
Use mpls in system view to enable MPLS globally and enter MPLS view.
Use undo mpls in system view to disable MPLS globally.
Use mpls in interface view to enable MPLS for the interface.
Use undo mpls in interface view to disable MPLS for the interface.
Syntax
mpls
undo mpls