Back to Gyanamguru Training Portal

MPLS Label Switching & Forwarding Architecture

CE1 sends IP packet; Ingress PE Pushes Label 101, Core P Swaps to 202, Egress PE Pops Label (PHP)

Status: Step 1 -> CE1 forwards IP packet to Ingress PE Router (PE1).

Cisco IOS CLI Console - PE1 (Ingress Label Edge Router)
PE1> enable PE1#
PE1#

What is Multi-Protocol Label Switching (MPLS)?

MPLS (Multi-Protocol Label Switching) is a high-performance network forwarding mechanism that directs data across a network using short path labels rather than complex long-destination IP routing lookups. Operates between Layer 2 (Data Link) and Layer 3 (Network), making it a "Layer 2.5" protocol.

MPLS Network Roles & Operations

MPLS Label Frame Structure (4 Bytes / 32 Bits)

Previous Lab (High Availability HSRP/VRRP) Next Lab (BGP Protocol)
×

MPLS Header Structure & LFIB Command Reference

Active Scenario Mode: Standard Label Switching Path (LSP)

MPLS 32-Bit Header Breakdown

Field Bit Length Function
Label20 BitsLocal lookup identifier for LSP forwarding decision
TC / EXP3 BitsClass of Service (CoS) for QoS prioritization
S (Stack)1 BitSet to 1 for bottom label, 0 for outer transport label
TTL8 BitsTime to Live to prevent packet looping

Cisco IOS MPLS Diagnostic Commands

View LFIB Table: show mpls forwarding-table

View LDP Neighbors: show mpls ldp neighbor

View CEF Prefix Labels: show ip cef 10.2.2.0 detail