R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide

51
For information about IP prefix list, see Layer 3—IP Routing Configuration Guide.
Examples
# Specify that all routing entries can trigger establishment of LDP LSPs.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] lsp-trigger all
lsr-id
Use lsr-id to configure an LDP LSR ID.
Use undo lsr-id to remove a configured LDP LSR ID and all LDP sessions.
Syntax
lsr-id lsr-id
undo lsr-id
Default
The LDP LSR ID takes the value of the MPLS LSR ID.
Views
MPLS LDP view, MPLS LDP VPN instance view
Default command level
2: System level
Parameters
lsr-id: Specifies the LDP LSR ID.
Examples
# Configure the LDP LSR ID of the public network as 2.2.2.3.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] lsr-id 2.2.2.3
# Configure the LDP LSR ID of VPN instance vpn1 as 4.2.2.3.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[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