R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
56
Usage guidelines
In interface view, you configure the link Hello transport address. In MPLS LDP remote peer view, you
configure the targeted Hello transport address.
If two LSRs have multiple links in between and you want to establish an LDP session on each link, make
sure all the links use the same transport address.
Examples
# On interface GigabitEthernet 2/1/1, configure the link Hello transport address as the IP address of the
current interface.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] mpls
[Sysname-GigabitEthernet2/1/1] mpls ldp
[Sysname-GigabitEthernet2/1/1] mpls ldp transport-address interface
# Configure the targeted Hello transport address to be 10.1.1.1.
<Sysname> system-view
[Sysname] mpls ldp remote-peer BJI
[Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3
[Sysname-mpls-ldp-remote-bji] mpls ldp transport-address 10.1.1.1
mpls lsr-id
Use mpls lsr-id to configure the ID of an LSR.
Use undo mpls lsr-id to remove the ID of an LSR.
Syntax
mpls lsr-id lsr-id
undo mpls lsr-id
Default
No LSR ID is configured.
Views
System view
Default command level
2: System level
Parameters
lsr-id: Specifies the ID for identifying the LSR, in dotted decimal notation.
Usage guidelines
Configure the LSR ID of an LSR before configuring any other MPLS commands.
HP recommends that you use the address of a loopback interface on the LSR as the ID.
Examples
# Set the LSR ID to 3.3.3.3.
<Sysname> system-view
[Sysname] mpls lsr-id 3.3.3.3










