- Title
- New and Changed Information
- Preface
-
- Configuring Basic MPLS TE
- Configuring Automatic Bandwidth Adjustment for MPLS TE Tunnels
- Configuring MPLS TE RSVP
- Configuring the Path Selection Metric for MPLS TE Tunnels
- Configuring LSP Attributes for MPLS TE
- Configuring MPLS TE Verbatim Paths
- Configuring MPLS TE Forwarding Adjacency
- Configuring MPLS TE Path Protection
- Configuring MPLS TE Fast Reroute Link and Node Protection
- Configuration Limits for Cisco NX-OS MPLS
- RFCs
- Finding Feature Information
- Information About MPLS LDP Session Protection
- Licensing Requirements for MPLS LDP Session Protection
- Prerequisites for MPLS LDP Session Protection
- Default Settings for MPLS LDP Session Protection
- Configuring MPLS LDP Session Protection
- Clearing an MPLS LDP Session
- Verifying the MPLS LDP Session Protection Configuration
- Configuration Examples for MPLS LDP Session Protection
- Additional References for MPLS LDP Session Protection
- Feature History for MPLS LDP Session Protection
Configuring MPLS LDP Session Protection
This chapter describes how to configure Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP) session protection on Cisco NX-OS devices.
This chapter includes the following sections:
- Finding Feature Information
- Information About MPLS LDP Session Protection
- Licensing Requirements for MPLS LDP Session Protection
- Prerequisites for MPLS LDP Session Protection
- Default Settings for MPLS LDP Session Protection
- Configuring MPLS LDP Session Protection
- Clearing an MPLS LDP Session
- Verifying the MPLS LDP Session Protection Configuration
- Configuration Examples for MPLS LDP Session Protection
- Additional References for MPLS LDP Session Protection
- Feature History for MPLS LDP Session Protection
Finding Feature Information
Your software release might not support all the features documented in this module. For the latest caveats and feature information, see the Bug Search Tool at https://tools.cisco.com/bugsearch/ and the release notes for your 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 “New and Changed Information” chapter or the Feature History table below.
Information About MPLS LDP Session Protection
The session protection feature provides faster LDP convergence when a link recovers following an outage. It protects an LDP session between directly connected neighbors or an LDP session established for a traffic engineering (TE) tunnel.
MPLS LDP session protection maintains LDP bindings when a link fails. MPLS LDP sessions are protected through the use of LDP hello messages. When you enable MPLS LDP, the label switched routers (LSRs) send messages to find other LSRs with which they can create LDP sessions.
- If the LSR is one hop from its neighbor, it is directly connected to its neighbor. The LSR sends LDP hello messages as User Datagram Protocol (UDP) packets to all the routers on the subnet. The hello message is called an LDP link hello . A neighboring LSR responds to the hello message, and the two routers begin to establish an LDP session.
- If the LSR is more than one hop from its neighbor, it is not directly connected to its neighbor. The LSR sends a directed hello message as a UDP packet but as a unicast message specifically addressed to that LSR. The hello message is called an LDP targeted hello . The nondirectly connected LSR responds to the hello message, and the two routers establish a targeted LDP session.
MPLS LDP session protection uses LDP targeted hellos to protect LDP sessions. Take, for example, two directly connected routers that have LDP enabled and can reach each other through alternate IP routes in the network. An LDP session that exists between two routers is called an LDP link session . When MPLS LDP session protection is enabled, an LDP targeted hello adjacency is also established for the LDP session. If the link between the two routers fails, the LDP link adjacency also fails. However, if the LDP peer is still reachable through IP, the LDP session stays up because the LDP targeted hello adjacency still exists between the routers. When the directly connected link recovers, the session does not need to be reestablished, and LDP bindings for prefixes do not need to be relearned.
Licensing Requirements for MPLS LDP Session Protection
Prerequisites for MPLS LDP Session Protection
MPLS LDP session protection has the following prerequisites:
- You must enable MPLS LDP.
- You must enable all routers that participate in MPLS LDP session protection to respond to targeted hellos. Otherwise, the LSRs cannot establish a targeted adjacency. You must configure both neighbor routers for session protection or configure one router for session protection and the other router to respond to targeted hellos.
Default Settings for MPLS LDP Session Protection
Table 5-1 lists the default settings for MPLS LDP session protection parameters.
|
|
|
|---|---|
Configuring MPLS LDP Session Protection
You can configure the Cisco NX-OS device for MPLS LDP session protection.
Prerequisites
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
3.
session protection [ for prefix-list ] [ duration { seconds | infinite }]
DETAILED STEPS
Clearing an MPLS LDP Session
You can terminate an MPLS LDP session after a link goes down. This procedure is useful when the link needs to be taken out of service or needs to be connected to a different neighbor.
Prerequisites
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
DETAILED STEPS
|
|
|
|
|---|---|---|
Clears all LDP neighbor sessions or a specific LDP neighbor session. |
Verifying the MPLS LDP Session Protection Configuration
To display the MPLS LDP session protection configuration, perform one of the following tasks:
For detailed information about the fields in the output from these commands, see the Cisco Nexus 7000 Series NX-OS MPLS Command Reference.
Configuration Examples for MPLS LDP Session Protection
The following example shows how to configure MPLS LDP session protection for prefix list “prefix1” and verify the results:
Additional References for MPLS LDP Session Protection
For additional information related to implementing MPLS LDP session protection, see the following sections:
Related Documents
|
|
|
|---|---|
MIBs
|
|
|
|---|---|
Feature History for MPLS LDP Session Protection
Table 5-2 lists the release history for this feature.
|
|
|
|
|---|---|---|
Feedback