Skip to content

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

MPLS Network Roles: CE, PE, and P Routers

  • CE (Customer Edge): Located at each customer site, these routers connect to the provider network.
  • PE (Provider Edge): Found at the perimeter of the MPLS network; they participate in BGP and exchange customer routes.
  • P (Provider): Form the MPLS core; they perform label switching but do not run BGP or know customer IP prefixes.

Three Essential Protocols for MPLS

1. Routing Between CE and PE

Any IGP (OSPF, EIGRP) or BGP can be used so the CE advertises its internal networks to the PE.

2. Underlay IGP for ISP Infrastructure

OSPF or IS-IS runs among all PE and P routers so they can find each other. This underlay does not carry customer routes.

3. BGP Between PE Routers Only

  • BGP is deployed only on the edge (PE routers), not in the core (P routers).
  • Since the ISP is a single AS (e.g., AS 100), full-mesh IBGP peerings must exist among all PEs.
  • P routers simply relay BGP messages via the underlay IGP but never process BGP themselves.

Why MPLS Is More Efficient Than IP Routing

Without MPLS, every router (including core P routers) would need to know all customer routes, potentially hundreds of thousands of prefixes.

With MPLS:

  • Only PE routers maintain customer routes in BGP.
  • Core P routers use labels to forward packets, ignoring source/destination IPs.
  • This offloads the routing table burden from the core, enabling massive scalability.

How BGP Enables Advanced MPLS Features

Beyond simple route exchange, BGP is essential for Layer 3 VPNs (L3VPNs) in MPLS networks. These VPNs isolate customer traffic from one another while still using the shared MPLS infrastructure, a critical requirement for production deployments. This topic is covered in a follow-up video.

Key Takeaway

In an MPLS core, BGP runs strictly at the edge (PE routers) to exchange customer prefixes via IBGP. Core P routers remain label-switching engines, oblivious to customer IP networks. This design is what gives MPLS its performance and scalability advantages over pure IP routing.

Additional Resources

To deepen your understanding of how MPLS works at the packet level, check out MPLS Label Operations: Pushing, Swapping, and Popping Explained and learn how the Label Distribution Protocol (LDP) automates label assignment across the core.

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

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.

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 VPNs: RD, RT & VPNv4 Routes Explained Simply

MPLS VPNs: RD, RT & VPNv4 Routes Explained Simply

This video explains how MPLS VPNs use Route Distinguishers (RDs) and Route Targets (RTs) to differentiate customer networks with overlapping IP addresses. It covers VPNv4 route advertisement, MP-BGP updates, and VPN labels for Layer 3 VPN isolation.

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.

LDP in MPLS: Label Distribution Protocol Simply Explained

LDP in MPLS: Label Distribution Protocol Simply Explained

Learn how Label Distribution Protocol (LDP) works in MPLS networks. This comprehensive guide explains label exchange, LIB and LFIB constructs, and penultimate label popping from first principles.

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