CSS Prepare

optional · CSS study notes

Multi Protocol Label Switching (MPLS)

🧭

On this page — click any heading below to jump straight to it. ⬅️ Back to P-II.II. Computer Communications & Networks


OSI Layer: Data Link (L2) / Network (L3) boundary — often called "Layer 2.5"

Definition

MPLS (Multi-Protocol Label Switching) is a technique that speeds up and shapes network traffic flow by forwarding packets using short, fixed-length labels rather than performing a full longest-prefix-match lookup on IP addresses at every hop — sitting conceptually between Layer 2 and Layer 3, often called "Layer 2.5."

Core Components and Operation

  • Label Edge Router (LER) — sits at the edge of the MPLS domain; examines the incoming packet's full IP header once and attaches an initial label based on its Forwarding Equivalence Class (FEC) — a group of packets that will be treated identically (e.g., same destination prefix and QoS requirement).
  • Label Switch Router (LSR) — sits in the core of the MPLS domain; forwards purely by reading the label (a simple table lookup) and does not re-examine the IP header, making core forwarding very fast.
  • Label Switched Path (LSP) — the predetermined, connection-oriented path a labelled packet follows through the network, functionally similar in spirit to a virtual circuit.
  • Label stacking / swapping — at each LSR hop, the incoming label is swapped for a new outgoing label (not simply passed through unchanged), and multiple labels can be stacked to support hierarchical services like MPLS VPNs.

Types of MPLS Applications (Classification by Use)

  • Traffic Engineering (TE) — explicit path control: an operator can force traffic along a specific LSP rather than whatever the IP routing protocol would naturally choose, balancing load across underused links.
  • MPLS VPN — allows an ISP to carry multiple customers' private traffic securely and separately over one shared physical backbone:
    • Layer 3 MPLS VPN (BGP/MPLS VPN) — the ISP participates in customer routing (via a modified BGP), most common for enterprise WAN connectivity.
    • Layer 2 MPLS VPN (VPWS/VPLS) — the ISP transparently carries Layer-2 frames between customer sites, making geographically separate sites appear to be on the same LAN.
  • QoS / Class of Service (CoS) — labels can carry experimental (EXP) bits used to classify traffic into priority classes, letting an operator guarantee latency/jitter bounds per traffic class without ATM's rigid cell structure.
  • MPLS-TP (Transport Profile) — a variant adapted for pure transport-network use, without the dynamic control-plane complexity of standard MPLS.

Why MPLS Improves on Traditional IP Routing

  • Label lookup is a simple, fixed-length table index — much faster than a full IP longest-prefix-match, especially valuable on high-throughput core routers.
  • Decouples forwarding from addressing — a packet's path through the MPLS core is controlled by its label/FEC assignment, independent of what its IP destination address alone would dictate, enabling traffic engineering that pure destination-based IP routing cannot.
  • Runs efficiently over standard Ethernet/IP infrastructure, unlike ATM which required dedicated cell-switching hardware — a major reason MPLS displaced ATM as the "QoS-capable" WAN technology of choice.

Comparison: MPLS vs Pure IP Routing vs ATM

BasisPure IP RoutingMPLSATM
Forwarding decisionLongest-prefix IP match, every hopLabel lookup, every hopVPI/VCI lookup on fixed cells
Path controlDestination-based onlyExplicit traffic engineering possibleVirtual-circuit based
QoSBest-effort by default (DiffServ optional)Strong, via label-based CoSStrongest, hardware-guaranteed
InfrastructureStandard IP routersStandard routers with MPLS supportDedicated ATM switches
VPN supportOverlay tunnels (e.g., IPsec) neededNative MPLS VPN (L2 and L3)Not natively designed for this

CSS Exam Angle

  • Frame MPLS as "the modern, cheaper replacement for ATM's QoS promise, achieved via labels on standard IP/Ethernet hardware instead of dedicated cell-switching equipment" — an examiner-pleasing synthesis if both ATM and MPLS appear in the same paper.
  • Name the LER vs LSR distinction explicitly — it is the core mechanic examiners test.
  • Mention MPLS VPN (Layer 2 and Layer 3) as MPLS's most commercially significant real-world application, not just an abstract label-switching curiosity.
  • If time allows, contrast MPLS's flexible, software-defined path control with ATM's rigid, hardware-fixed virtual circuits.

Example

Large enterprises and banks with multiple branch offices commonly lease MPLS VPN circuits from ISPs (e.g., PTCL Enterprise, Nayatel) to guarantee reliable, prioritised connectivity between branches and head office, ensuring critical transaction traffic gets priority over general internet browsing on the same shared backbone.

Likely Questions

  1. What is MPLS? Explain how it improves upon traditional IP routing.
  2. Differentiate the roles of a Label Edge Router and a Label Switch Router.
  3. What is an MPLS VPN? Distinguish Layer 2 and Layer 3 MPLS VPNs.
  4. Compare MPLS with ATM as approaches to guaranteeing Quality of Service.

📜 Past-Paper Questions & Structured Answers

Coverage check: no standalone question on MPLS was located in the reviewed 2016–2026 descriptive papers or the available 2024–2026 Paper-II MCQ sheets. This is not proof that it has never appeared. Questions labelled “Likely” above are practice, not verified past-paper questions.

Relevant preparation: Use this topic as an example when explaining packet switching in the 2016 question in Switching. Explain its mechanism only to the extent needed by that question; a technology example is not a separate past-paper occurrence.