Configuring local ldp session parameters – H3C Technologies H3C SR8800 User Manual

Page 24

Advertising
background image

13

Step Command

Remarks

3.

Configure the LDP LSR ID.

lsr-id lsr-id

Optional.
MPLS LSR ID of the LSR by default.

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 using the
sessions will be deleted.

Usually, you do not need to configure the LDP LSR ID but use the default, which is the MPLS LSR ID. In
some applications that use VPN instances (for example, MPLS L3VPN), however, you need to make sure

that different LDP instances have different LDP LSR IDs if the address spaces overlap. Otherwise, the TCP
connections cannot be established normally.

Configuring Local LDP session parameters

LDP sessions established between local LDP peers are referred to as 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 is to establish the TCP connection.

If there are a many LDP sessions between the two LSRs or the CPU is occupied much, you need to

adjust timers to ensure the stability of the LDP sessions.

To configure local LDP session parameters:

Step 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.

5.

Configure the LDP transport
address.

mpls ldp transport-address
{ ip-address | interface }

Optional.
MPLS LSR ID of the LSR by default.

CAUTION:

If you configure an LDP transport address by specifying an IP address, the specified IP address must be the
IP address of an interface on the router. Otherwise, the LDP sessions cannot be established.

Advertising