R3303-HP HSR6800 Routers MPLS Configuration Guide

13
Ste
p
Command
Remarks
3. Configure the LDP LSR ID.
lsr-id lsr-id
Optional.
By default, the LDP LSR ID is the
same as the MPLS LSR ID.
You need to perform this task only
in a multi-VPN context to make sure
that different LDP instances have
different LDP LSR IDs if their
address spaces overlap.
Otherwise, TCP connections
cannot be established.
4. Return to system view.
quit N/A
5. Enter interface view.
interface interface-type
interface-number
N/A
6. Enable LDP capability for the
interface.
mpls ldp Not enabled by default.
NOTE:
Disabling LDP on an interface terminates all LDP sessions on the interface. As a result, all LSPs usin
g
the
sessions are deleted.
Configuring local LDP session parameters
LDP sessions established between local LDP peers are local LDP sessions. To establish a local LDP
session:
Determine the LDP transport addresses of the two peers and make sure that the LDP transport
addresses are reachable to each other. This step is to establish the TCP connection.
If many LDP sessions exist between the two LSRs or the CPU is occupied much, you must adjust timers
to ensure the stability of the LDP sessions.
To configure local LDP session parameters:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Set the link Hello timer.
mpls ldp timer hello-hold value
Optional.
15 seconds by default.
4. Set the link Keepalive timer.
mpls ldp timer keepalive-hold
value
Optional.
45 seconds by default.