Configuring ldp backoff, Label distribution and control – H3C Technologies H3C S12500-X Series Switches User Manual

Page 34

Advertising
background image

23

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the Keepalive hold

time.

mpls ldp timer keepalive-hold
timeout

By default, the Keepalive hold time
is 45 seconds.

4.

Configure the Keepalive

interval.

mpls ldp timer keepalive-interval
interval

By default, the Keepalive interval is
15 seconds.

5.

Configure the LDP transport

address.

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

By default, the LDP transport
address is the LSR ID of the local

device if the interface where you

want to establish an LDP session
belongs to the public network. If

the interface belongs to a VPN, the

LDP transport address is the
primary IP address of the interface.
If the interface where you want to
establish an LDP session is bound

to a VPN instance, the interface
with the IP address specified with

this command must be bound to the

same VPN instance.

Configuring LDP sessions parameters for Extended Discovery mechanism

To configure parameters for LDP sessions to be established using Extended Discovery mechanism:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDP view.

mpls ldp

N/A

3.

Specify an LDP peer and enter
LDP peer view. The device will

send unsolicited Targeted

Hellos to the peer and can
respond to Targeted Hellos sent

from the targeted peer.

targeted-peer peer-lsr-id

By default, the device does not
send Targeted Hellos to or

receive Targeted Hellos from

any peer.

4.

Configure the Keepalive hold

time.

mpls ldp timer keepalive-hold
timeout

By default, the Keepalive hold
time is 45 seconds.

5.

Configure the Keepalive

interval.

mpls ldp timer keepalive-interval
interval

By default, the Keepalive interval
is 15 seconds.

6.

Configure the LDP transport
address.

mpls ldp transport-address
ip-address

By default, the LDP transport
address is the LSR ID of the local

device.

Configuring LDP backoff

If LDP session parameters (for example, the label advertisement mode) are incompatible, two LDP peers

cannot establish a session, and they will keep negotiating with each other.

Advertising