beautypg.com

Configuring ldp gr, Configuring ldp nsr, Configuring ldp-igp synchronization – H3C Technologies H3C S6800 Series Switches User Manual

Page 45

background image

32

available, and the FEC-label mappings based on this session are not deleted. When the direct link

recovers, the LDP peers do not need to re-establish the LDP session or re-learn the FEC-label mappings.
When you enable the session protection function, you can also specify the session protection duration.

If the Link Hello adjacency does not recover within the duration, LDP deletes the Targeted Hello

adjacency and the LDP session. If you do not specify the session protection duration, the two peers will

always maintain the LDP session over the Targeted Hello adjacency.
To configure LDP session protection:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDP view.

mpls ldp

N/A

3.

Enable the session protection
function.

session protection [ duration time ]
[ peer peer-prefix-list-name ]

By default, session protection is
disabled.

Configuring LDP GR

Before you configure LDP GR, enable LDP on the GR restarter and GR helpers.
To configure LDP GR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDP view.

mpls ldp N/A

3.

Enable LDP GR.

graceful-restart

By default, LDP GR is disabled.

4.

Configure the Reconnect
timer for LDP GR.

graceful-restart timer reconnect
reconnect-time

By default, the Reconnect time is
120 seconds.

5.

Configure the MPLS
Forwarding State Holding

timer for LDP GR.

graceful-restart timer forwarding-hold
hold-time

By default, the MPLS Forwarding
State Holding time is 180 seconds.

Configuring LDP NSR

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter LDP view.

mpls ldp N/A

3.

Enable LDP NSR.

non-stop-routing

By default, LDP NSR is disabled.

Configuring LDP-IGP synchronization

After you enable LDP-IGP synchronization for an OSPF process, OSPF area, or an IS-IS process, LDP-IGP
synchronization is enabled on the OSPF process interfaces or the IS-IS process interfaces.