Command or Action Purpose
Step 6 mpls ip
Example:
Router(config-if)# mpls ip
Configures MPLS hop-by-hop forwarding for an interface.
Step 7 mpls label protocol {ldp| tdp| both}
Example:
Router(config-if)# mpls label protocol ldp
Configures the use of LDP for an interface. You must use LDP.
Note You can also issue the mpls label protocol ldp command in global configuration mode, which enables
LDP on all interfaces configured for MPLS.

Verifying the Configuration

The following commands help verify that MPLS LDP GR has been configured correctly:
show mpls ldp neighbor with the graceful-restart
keyword Displays the Graceful Restart information for LDP
sessions.
show mpls ldp graceful-restart Displays Graceful Restart sessions and session
parameters.
Configuration Example for MPLS LDP Graceful Restart
The figure below shows a configuration where MPLS LDP GR is enabled on Router 1 and MPLS LDP
SSO/NSF is enabled on Routers 2 and 3. In this configuration example, Router 1 creates an LDP session
with Router 2. Router 1 also creates a targeted session with Router 3 through a traffic engineering tunnel
using Router 2.
Note MPLS LDP SSO/NSF is supported in Cisco IOS Release 12.2(25)S. It is not supported in this release.
Figure 5 MPLS LDP Graceful Restart Configuration Example
Verifying the Configuration
Configuration Example for MPLS LDP Graceful Restart
MPLS LDP Configuration Guide, Cisco IOS Release 12.4
69