- Finding Feature Information
- Prerequisites for MPLS LDP-IGP Synchronization
- Restrictions for MPLS LDP-IGP Synchronization
- Information About MPLS LDP-IGP Synchronization
- How to Configure MPLS LDP-IGP Synchronization
- Configuring MPLS LDP Autoconfiguration with OSPF Interfaces
- Disabling MPLS LDP-IGP Synchronization from Some OSPF Interfaces
- Verifying MPLS LDP-IGP Synchronization with OSPF
- Configuring MPLS LDP-IGP Synchronization with IS-IS Interfaces
- Disabling MPLS LDP-IGP Synchronization from Some IS-IS Interfaces
MPLS LDP-IGP Synchronization
The MPLS LDP-IGP Synchronization feature ensures that the Label Distribution Protocol (LDP) is fully established before the Interior Gateway Protocol (IGP) path is used for switching.
- Finding Feature Information
- Prerequisites for MPLS LDP-IGP Synchronization
- Restrictions for MPLS LDP-IGP Synchronization
- Information About MPLS LDP-IGP Synchronization
- How to Configure MPLS LDP-IGP Synchronization
- Configuration Examples for MPLS LDP-IGP Synchronization
- Additional References
- Feature Information for MPLS LDP-IGP Synchronization
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for MPLS LDP-IGP Synchronization
Restrictions for MPLS LDP-IGP Synchronization
Information About MPLS LDP-IGP Synchronization
- How MPLS LDP-IGP Synchronization Works
- MPLS LDP-IGP Synchronization with Peers
- MPLS LDP-IGP Synchronization Delay Timer
- MPLS LDP-IGP Synchronization Incompatibility with IGP Nonstop Forwarding
- MPLS LDP-IGP Synchronization Compatibility with LDP Graceful Restart
How MPLS LDP-IGP Synchronization Works
Packet loss can occur because the actions of the IGP and LDP are not synchronized. Packet loss can occur in the following situations:
- When an IGP adjacency is established, the router begins forwarding packets using the new adjacency before the LDP label exchange completes between the peers on that link.
- If an LDP session closes, the router continues to forward traffic using the link associated with the LDP peer rather than an alternate pathway with a fully synchronized LDP session.
The MPLS LDP-IGP Synchronization feature does the following:
- Provides a means to synchronize LDP and IGPs to minimize Multiprotocol Label Switching (MPLS) packet loss.
- Enables you to globally enable LDP-IGP synchronization on each interface associated with an IGP OSPF or IS-IS process.
- Provides a means to disable LDP-IGP synchronization on interfaces that you do not want enabled.
- Prevents MPLS packet loss due to synchronization conflicts.
- Works when LDP is enabled on interfaces using either the mpls ipor mpls ldp autoconfig command.
To enable LDP-IGP synchronization on each interface that belongs to an OSPF or IS-IS process, enter the mpls ldp sync command. If you do not want some of the interfaces to have LDP-IGP synchronization enabled, issue the no mpls ldp igp sync command on those interfaces.
If the LDP peer is reachable, the IGP waits indefinitely (by default) for synchronization to be achieved. To limit the length of time the IGP session must wait, enter the mpls ldp igp sync holddown command. If the LDP peer is not reachable, the IGP establishes the adjacency to enable the LDP session to be established.
When an IGP adjacency is established on a link but LDP-IGP synchronization is not yet achieved or is lost, the IGP advertises the max-metric on that link.
MPLS LDP-IGP Synchronization with Peers
When the MPLS LDP-IGP Synchronization feature is enabled on an interface, LDP determines if any peer connected by the interface is reachable by looking up the peer's transport address in the routing table. If a routing entry (including longest match or default routing entry) for the peer exists, LDP assumes that LDP-IGP synchronization is required for the interface and notifies the IGP to wait for LDP convergence.
LDP-IGP synchronization with peers requires that the routing table be accurate for the peer's transport address. If the routing table shows there is a route for the peer's transport address, that route must be able to reach the peer's transport address. However, if the route is a summary route, a default route, or a statically configured route, it may not the correct route for the peer. You must verify that the route in the routing table can reach the peer's transport address.
When the routing table has an inaccurate route for the peer's transport address, LDP cannot set up a session with the peer, which causes the IGP to wait for LDP convergence unnecessarily for the sync hold-down time.
MPLS LDP-IGP Synchronization Delay Timer
The MPLS LDP-IGP Synchronization feature provide the option to configure a delay time for MPLS LDP and IGP synchronization on an interface-by-interface basis. If you want to configure a delay time on an interface, use the mpls ldp igp sync delay delay-timecommand in interface configuration mode. To remove the delay timer from a specified interface, enter the no mpls ldp igp sync delay command. This command sets the delay time to 0 seconds, but leaves MPLS LDP IGP synchronization enabled.
When LDP is fully established and synchronized, LDP checks the delay timer:
- If you configured a delay time, LDP starts the timer. When the timer expires, LDP checks that synchronization is still valid and notifies the OSPF process.
- If you did not configure a delay time, if synchronization is disabled or down, or if an interface was removed from an IGP process, LDP stops the timer and immediately notifies the OSPF process.
If you configure a new delay time while a timer is running, LDP saves the new delay time but does not reconfigure the running timer.
MPLS LDP-IGP Synchronization Incompatibility with IGP Nonstop Forwarding
The MPLS LDP-IGP Synchronization feature is not supported during the startup period if IGP nonstop forwarding (NSF) is configured. The MPLS LDP-IGP Synchronization feature conflicts with IGP NSF when the IGP is performing NSF during startup. After the NSF startup is complete, the MPLS LDP-IGP Synchronization feature is supported.
MPLS LDP-IGP Synchronization Compatibility with LDP Graceful Restart
LDP Graceful Restart protects traffic when an LDP session is lost. If an interface that supports a Graceful Restart-enabled LDP session fails, MPLS LDP-IGP synchronization is still achieved on the interface while it is protected by Graceful Restart. MPLS LDP-IGP synchronization is eventually lost under the following circumstances:
How to Configure MPLS LDP-IGP Synchronization
- Configuring MPLS LDP Autoconfiguration with OSPF Interfaces
- Disabling MPLS LDP-IGP Synchronization from Some OSPF Interfaces
- Verifying MPLS LDP-IGP Synchronization with OSPF
- Configuring MPLS LDP-IGP Synchronization with IS-IS Interfaces
- Disabling MPLS LDP-IGP Synchronization from Some IS-IS Interfaces
Configuring MPLS LDP Autoconfiguration with OSPF Interfaces
The following steps explain how to configure LDP for interfaces running OSPF processes.
DETAILED STEPS
Disabling MPLS LDP-IGP Synchronization from Some OSPF Interfaces
When you issue the mpls ldp sync command, all of the interfaces that belong to an OSPF process are enabled for LDP-IGP synchronization. To remove LDP-IGP synchronization from some interfaces, use the no form of the mpls ldp igp sync command on those interfaces.
Perform the following task to disable LDP-IGP synchronization from some OSPF interfaces after they are configured with LDP-IGP synchronization through the mpls ldp sync command.
DETAILED STEPS
Verifying MPLS LDP-IGP Synchronization with OSPF
After you configure the interfaces for LDP, OSPF, and LDP-IGP synchronization, verify that the configuration is working correctly using the show mpls ldp igp syncand show ip ospf mpls ldp interfacecommands.
DETAILED STEPS
Configuring MPLS LDP-IGP Synchronization with IS-IS Interfaces
The following sections contain the steps and examples for configuring MPLS LDP-IGP synchronization for interfaces running IS-IS processes:
- Configuring MPLS LDP-IGP Synchronization on All IS-IS Interfaces
- Configuring MPLS LDP-IGP Synchronization on an IS-IS Interface
Configuring MPLS LDP-IGP Synchronization on All IS-IS Interfaces
Perform the following task to configure the MPLS LDP-IGP Synchronization feature on all interfaces running IS-IS processes.
DETAILED STEPS
Configuring MPLS LDP-IGP Synchronization on an IS-IS Interface
This section contains the steps for configuring the MPLS LDP-IGP Synchronization feature on an interface that is running an IS-IS process.
DETAILED STEPS
Disabling MPLS LDP-IGP Synchronization from Some IS-IS Interfaces
When you issue the mpls ldp sync command, all of the interfaces that belong to an IS-IS process are enabled for LDP-IGP synchronization. To remove LDP-IGP synchronization from some interfaces, use the no form of the mpls ldp igp sync command on those interfaces.
Perform the following task to disable LDP-IGP synchronization from some IS-IS interfaces after they are configured with LDP-IGP synchronization through the mpls ldp sync command.
DETAILED STEPS
Troubleshooting Tips
Use the debug mpls ldp igp sync command to display events related to MPLS LDP-IGP synchronization.
Configuration Examples for MPLS LDP-IGP Synchronization
The following sections show examples for the MPLS LDP-IGP synchronization feature with OSPF and IS-IS processes:
MPLS LDP-IGP Synchronization with OSPF Examples
The following task shows how to enable LDP for OSPF process 1. The mpls ldp syncand the OSPF network commands enable LDP on interfaces POS0/0/0, POS0/1/0, and POS1/1/0, respectively. The no mpls ldp igp sync command on interface POS1/0/0 prevents LDP from being enabled on interface POS1/0/0, even though OSPF is enabled for that interface.
Router# configure terminal Router(config)# interface POS0/0/0 Router(config-if)# ip address 10.0.0.1 Router(config-if)# mpls ip ! Router(config)# interface POS0/1/0 Router(config-if)# ip address 10.0.1.1 Router(config-if)# mpls ip ! Router(config)# interface POS1/1/0 Router(config-if)# ip address 10.1.1.1 Router(config-if)# mpls ip ! Router(config)# interface POS1/0/0 Router(config-if)# ip address 10.1.0.1 Router(config-if)# mpls ip ! Router(config)# router ospf 1 Router(config-router)# network 10.0.0.0 0.0.255.255 area 3 Router(config-router)# network 10.1.0.0 0.0.255.255 area 3 Router(config-router)# mpls ldp sync Router(config-router)# exit Router(config)# interface POS1/0/0 Router(config-if)# no mpls ldp igp sync
MPLS LDP-IGP Synchronization with IS-IS Examples
The following examples show the configuration commands you can use to configure MPLS LDP-IGP synchronization on interfaces POS0/2 /0 and POS0/3/0, which are running IS-IS processes:
Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface POS0/2/0 Router(config-if)# ip router isis Router(config-if)# exit Router(config)# router isis Router(config-router)# mpls ldp sync Router(config-router)# exit . . . Router(config)# interface POS0/3/0 Router(config-if)# ip router isis Router(config-if)# exit Router(config)# router isis Router(config-router)# mpls ldp sync Router(config-router)# exit Router(config) exit Router#
Additional References
The following sections provide references related to the MPLS LDP-IGP Synchronization feature.
Related Documents
Related Topic |
Document Title |
---|---|
MPLS LDP |
MPLS Label Distribution Protocol |
MPLS LDP Autoconfiguration |
MPLS LDP Autoconfiguration |
MPLS LDP commands |
Cisco IOS Multiprotocol Label Switching Command Reference |
Standards
Standards |
Title |
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
-- |
MIBs
MIBs |
MIBs Link |
---|---|
MPLS LDP MIB |
To locate and download MIBs for selected platforms, Cisco IOS XE software releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
RFCs |
Title |
---|---|
RFC 3036 |
|
RFC 3037 |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for MPLS LDP-IGP Synchronization
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1 | Feature Information for MPLS LDP-IGP Synchronization |
Feature Name |
Releases |
Feature Information |
---|---|---|
MPLS LDP-IGP Synchronization |
Cisco IOS XE Release 2.1
|
The MPLS LDP-IGP Synchronization feature ensures that the Label Distribution Protocol (LDP) is fully established before the Interior Gateway Protocol (IGP) path is used for switching. In Cisco IOS XE Release 2.1, this feature was integrated on the Cisco ASR 1000 Series Aggregation Services Routers. The following commands were modified: debug mpls ldp igp sync, mpls ldp igp sync, mpls ldp igp sync holddown, mpls ldp sync, show ip ospf mpls ldp interface, show isis mpls ldp, and show mpls ldp igp sync. |
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.