
Configuring LDP IGP Synchronization: Intermediate System to Intermediate System (IS-IS)
This example shows how to configure LDP-IGP synchronization for IS-IS.
RP/0/RP0/CPU0:Router(config)# router isis 100
RP/0/RP0/CPU0:Router(config-isis)# interface HundredGigE 0/0/0/5
RP/0/RP0/CPU0:Router(config-isis-if)# address-family ipv4 unicast
RP/0/RP0/CPU0:Router(config-isis-if-af)# mpls ldp sync
RP/0/RP0/CPU0:Router(config-isis-if-af)# commit
Configuring Label Distribution Protocol Graceful Restart
LDP Graceful Restart provides a mechanism for LDP peers to preserve the MPLS forwarding state when the
LDP session goes down. Without LDP Graceful Restart, when an established session fails, the corresponding
forwarding states are cleaned immediately from the restart and peer nodes. In this case, LDP forwarding has
to restart from the beginning, causing a potential loss of data and connectivity. If LDP graceful restart is
configured, traffic can continue to be forwarded without interruption, even when the LDP session restarts.
The LDP graceful restart capability is negotiated between two peers during session initialization time. During
session initialization, a router advertises its ability to perform LDP graceful restart by sending the graceful
restart typed length value (TLV). This TLV contains the reconnect time and recovery time. The values of the
reconnect and recovery times indicate the graceful restart capabilities supported by the router. The reconnect
time is the amount of time the peer router waits for the restarting router to establish a connection. When a
router discovers that a neighboring router is restarting, it waits until the end of the recovery time before
attempting to reconnect. Recovery time is the amount of time that a neighboring router maintains its information
about the restarting router.
Configuration Example
This example shows how to configure LDP graceful restart. In this example, the amount of time that a
neighboring router maintains the forwarding state about the gracefully restarting router is specified as 180
seconds. The reconnect time is configured as 169 seconds.
RP/0/RP0/CPU0:Router(config)# mpls ldp
RP/0/RP0/CPU0:Router(config-ldp)# interface HundredGigE 0/0/0/5
RP/0/RP0/CPU0:Router(config-ldp-if)# exit
RP/0/RP0/CPU0:Router(config-ldp)# graceful-restart
RP/0/RP0/CPU0:Router(config-ldp)# graceful-restart forwarding-state-holdtime 180
RP/0/RP0/CPU0:Router(config-ldp)# graceful-restart reconnect-timeout 169
RP/0/RP0/CPU0:Router(config-ldp)# commit
Configuring Label Distribution Protocol Nonstop Routing
LDP nonstop routing (NSR) functionality makes failures, such as Route Processor (RP) or Distributed Route
Processor (DRP) fail over, invisible to routing peers with minimal to no disruption of convergence performance.
By default, NSR is globally enabled on all LDP sessions except AToM.
A disruption in service may include any of these events:
•Route processor (RP) or distributed route processor (DRP) failover
•LDP process restart
•Minimum disruption restart (MDR)
MPLS Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
10
Implementing MPLS Label Distribution Protocol
Configuring Label Distribution Protocol Graceful Restart