Skip to content

LDP in MPLS: Label Distribution Protocol Simply Explained

This video explains how MPLS routers exchange label information using LDP and populate internal data structures (LIB and LFIB) for efficient label switching.

Prerequisites for MPLS

Before MPLS can operate, two requirements must be met:

1. Underlay Routing Protocol

  • All MPLS core routers must run an IGP like OSPF or IS-IS. For more on how this foundational routing works, see CCNA Routing Fundamentals: Connected and Local Routes Explained.
  • This creates the control plane underlay allowing routers to discover each other
  • Important: This routing is NOT for customer traffic - it's only for MPLS control plane communication

2. LDP Adjacencies

  • MPLS is enabled on a per-interface basis
  • LDP automatically forms adjacencies only between directly connected MPLS routers
  • Once established, labels begin to be exchanged between neighbors

Internal Router Constructs

The video compares traditional IP routing constructs with MPLS-specific data structures:

Traditional IP Routing

| Construct | Purpose | |-----------|---------| | RIB (Routing Information Base) | The routing table populated by routing protocols using administrative distance and metrics | | FIB (Forwarding Information Base) | Hardware-based subset of RIB containing only best routes for actual packet forwarding |

MPLS Additional Constructs

| Construct | Purpose | |-----------|---------| | LIB (Label Information Base) | Assigns a locally significant label to each prefix found in the RIB | | LFIB (Label Forwarding Information Base) | The counterpart to FIB - examined when a labeled packet arrives, often implemented in specialized hardware for ultra-efficient switching |

How Label Exchange Works

Locally Significant Labels

Example: Label Switching Process

For destination network 192.168.1.0/24:

PE Router (Router A):

  • Local label: 27
  • Remote label (from P1): 29
  • Action: swaps label 27 → 29 before forwarding

P1 Router:

  • Local label: 29
  • Remote label (from P2): 31
  • Action: swaps label 29 → 31

P2 Router (Penultimate):

  • Local label: 31
  • Outgoing label: "Pop Label"
  • Action: Removes the label entirely before forwarding

Penultimate Label Popping (PHP)

Key Takeaways

  1. MPLS requires an underlying IGP for control plane communication
  2. Labels are locally significant and exchanged via LDP
  3. The LFIB contains local label, outgoing label (from next hop), outgoing interface, and next-hop IP
  4. Penultimate label popping simplifies the final hop to the customer network
  5. Customer-facing interfaces use traditional routing, not MPLS label switching

Keep this summary

Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.

Save to LunaNotes

Or summarise for another video.

32K+ people have turned 65K+ videos into notes

“Very useful tool. I'm using it for the last couple weeks and I'm loving it so far. Makes learning on YouTube a great experience.”
Bhai Chrome Web Store review

This summary and transcript were automatically generated using AI with the Free YouTube transcript summary tool by LunaNotes.

Related summaries

MPLS Labels, Device Roles & LDP Protocol Explained Simply

MPLS Labels, Device Roles & LDP Protocol Explained Simply

This video from telecom.Tech breaks down MPLS labels, the roles of CE, PE, and P routers, and how the Label Distribution Protocol (LDP) auto-populates forwarding tables. A clear, beginner-friendly overview of MPLS core network operations and packet switching mechanics.

MPLS Label Operations: Pushing, Swapping, and Popping Explained

MPLS Label Operations: Pushing, Swapping, and Popping Explained

Learn the fundamentals of MPLS label operations including pushing, swapping, and popping. This video breaks down how LDP labels are added, switched, and removed as packets traverse an MPLS network, with a practical topology example showing label stack management for Layer 3 VPNs.

MPLS Explained: What Is Multi-Protocol Label Switching? (Simple Guide)

MPLS Explained: What Is Multi-Protocol Label Switching? (Simple Guide)

MPLS is a high-performance network protocol used in ISP core networks to efficiently direct data between nodes using labels instead of IP lookups. It sits between Layer 2 and Layer 3, encapsulates multiple protocols, and is ideal for interconnecting customer sites securely. This video provides a simple introduction to MPLS, comparing it to traditional IP routing and explaining its key benefits.

Basic MPLS Configuration on Cisco IOS: Step-by-Step Guide

Basic MPLS Configuration on Cisco IOS: Step-by-Step Guide

Learn how to configure MPLS on Cisco IOS routers in a typical ISP network. This video walks through the full process: eBGP peerings with customers, OSPF underlay, iBGP full mesh among PEs, and finally enabling MPLS with LDP, followed by verification using LFIB and PHP.

How BGP Is Used in the MPLS Core: Edge Routing Explained

How BGP Is Used in the MPLS Core: Edge Routing Explained

Learn how BGP operates only on the perimeter of an MPLS network, enabling PE routers to share customer routes while core P routers stay label-switching only. This video breaks down the CE/PE/P router roles, IBGP full-mesh on edges, and why MPLS beats IP routing for scalability.

Found this summary useful?

Take it with you. One click puts it in your own LunaNotes library.

Save to LunaNotes

Start taking better notes today with LunaNotes