MPLS LDP Loop Detection

 MPLS LDP Loop Detection

There is a possibility of looping between LSPs established in MPLS. It is possible to detect and prevent looping LSPs in LDP using the loop detection mechanism. It is necessary to configure the LDP loop detection mechanism on each LSR in order to make it work. LDP loop detection configuration may differ between LDP peers, however, in order to establish an LDP session.

Fig 1.1- MPLS topology

There are two modes for detecting LDP loops:

Maximum hop count: Messages that request labels or map labels can include information about their hop count, which increments by one with each hop. A loop is considered when this value exceeds the specified limit, and an LSP cannot be established.

Path vector: In label request or label mapping messages, path vector tables can be used to convey path information. If the MPLS LSR ID is already present in the path vector table of such a message, the LSR checks it. An attempt to establish an LSP will fail if either of the following occurs

  • The path vector table already contains the LSR's MPLS LSR ID.
  • The path's hop count exceeds the predetermined threshold.

The LSR updates the path vector table with the MPLS LSR ID if it is not already there.

Other Articles on MPLS 
Manually Configuring a BGP Router ID per VRF in MPLS Networks - The Network DNA
MPLS Constraint-based Routing Label Distribution Protocol- (CR-LDP) - The Network DNA
MPLS TE: RSVP Resource Reservation Protocol - The Network DNA
CCIE Service Provider: Segment Routing (SR) vs MPLS traffic Engineering (MPLS-TE) vs Label Distribution Protocol (LDP) - The Network DNA
Basics: How to configure MPLS and MPLS Traffic Engineering - The Network DNA
Do you know about VRF lite in MPLS networks ? - The Network DNA
Introduction to VRF(Virtual Routing forwarding) - The Network DNA
MPLS basics: LDP ( Label Distribution Protocol) on Cisco IOS-XR devices - The Network DNA
MPLS Vs SDWAN: Quick Study - The Network DNA
Part 4: MPLS Forwarding Operations (LDP Vs RSVP) - The Network DNA
Part 3: MPLS Forwarding Operations With Labels - The Network DNA
Part 2: Special Labels in MPLS - The Network DNA
A brief about MPLS Header & Label - The Network DNA
MPLS Vs VPLS : Difference & Design - The Network DNA
What to choose L2MPLS or L3MPLS - The Network DNA
The Concept of PHP in MPLS -- Penultimate Hop Popping - The Network DNA
MPLS ( RD and VRF concept ) - The Network DNA
A study about MPLS label - The Network DNA
Introduction to MPLS Route Target ( RT ) - The Network DNA
MPLS Label advertisement modes - The Network DNA
MPLS LDP Basic Concepts - The Network DNA
Talk about MPLS LSP - The Network DNA
TTL Processing in MPLS - The Network DNA