R0106-HP MSR Router Series MPLS Command Reference(V7)
55
Default
No LDP LSR ID is configured. LDP uses the MPLS LSR ID configured by the mpls lsr-id command for both
the public network and VPN instances.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
Parameters
lsr-id: Specifies an LDP LSR ID, in dotted decimal notation.
Usage guidelines
If you configure an LDP LSR ID by using the lsr-id command in LDP view or LDP-VPN instance view, LDP
uses the LDP LSR ID. Otherwise, LDP uses the LSR-ID configured by the mpls lsr-id command.
LDP uses the same LSR ID for all sessions in the same VPN instance. After you configure a new LSR ID for
a VPN instance, LDP does not use the new LSR ID unless you use the reset mpls ldp command to
reestablish all LDP sessions in the VPN instance.
For the public network, HP recommends using the default LDP LSR ID configured by the mpls lsr-id
command. If you want to configure an LDP LSR ID for the public network by using the lsr-id command,
specify the IP address of a local Loopback interface as the LDP LSR ID for high reliability.
Examples
# Configure the LDP LSR ID as 2.2.2.2 for the public network.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] lsr-id 2.2.2.2
Related commands
• display mpls ldp parameter
• mpls lsr-id
maxhops
Use maxhops to specify the maximum hop count for loop detection.
Use undo maxhops to restore the default.
Syntax
maxhops hop-number
undo maxhops
Default
The maximum hop count for loop detection is 32.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin