35
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter LDP view.
mpls ldp
N/A
3.
Enable the session
protection feature.
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.
Set the Reconnect timer for
LDP GR.
graceful-restart timer reconnect
reconnect-time
By default, the Reconnect time
is 120 seconds.
5.
Set 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.
You can execute the
mpls ldp igp sync disable
command to disable LDP-IGP synchronization on
interfaces where LDP-IGP synchronization is not required.
LDP-IGP synchronization protection is only applicable to an IPv4 network.
Configuring LDP-OSPF synchronization
LDP-IGP synchronization is not supported for an OSPF process and its OSPF areas if the OSPF
process belongs to a VPN instance.
To configure LDP-OSPF synchronization for an OSPF process: