beautypg.com

Configuring local ldp session parameters, Configuring remote ldp session parameters – H3C Technologies H3C S10500 Series Switches User Manual

Page 70

background image

59

NOTE:

Disabling LDP on an interface terminates all LDP sessions on the interface. As a result, all LSPs using the
sessions are deleted.

Usually, configuring the LDP LSR ID is not required, as it defaults to the MPLS LSR ID. In some
applications that use VPN instances (for example, MPLS L3VPN), however, you must ensure 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 local LDP sessions. To establish a local LDP

session:

Determine the LDP transport addresses of the two peers and ensure 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.

Follow these steps to configure local LDP session parameters:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter interface view

interface interface-type

interface-number

Set the link Hello timer

mpls ldp timer hello-hold value

Optional
15 seconds by default

Set the link Keepalive timer

mpls ldp timer keepalive-hold
value

Optional
45 seconds by default

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 switch. Otherwise, the LDP sessions cannot be established.

Configuring remote LDP session parameters

LDP sessions established between remote LDP peers are remote LDP sessions. Remote LDP sessions are

mainly used in Martini MPLS L2VPN, and Martini VPLS. For more information about remote session

applications, see the chapters “MPLS L2VPN configuration,” and “VPLS configuration.”
To establish a remote LDP session, you must do the following:

Determine the LDP transport addresses of the two peers and ensure that the LDP transport addresses

are reachable to each other. Do this 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.

Follow these steps to configure remote LDP session parameters: