Pcornel
Networking · Routing › MPLS Fundamentals

Label-Switched Path

Cheat sheet · https://pcornel.dk/topic.php?topic=2644

Back to the Topic

Answer

A Label-Switched Path (LSP) is the one-way sequence of routers and labels that packets of a FEC follow through the MPLS network from ingress to egress LER.

Remember

  • Labels are locally significant and normally change hop by hop
  • LERs impose/remove labels; LSRs swap labels
  • LDP commonly follows IGP reachability, so router-ID/transport reachability must work first
  • LIB/control-plane bindings and LFIB/data-plane actions are separate
  • Penultimate-hop popping is normal; MPLS VPN requires additional VRF/MP-BGP state.

First checks

  • traceroute mpls ipv4 <pe-loopback>/32 — LSP trace
  • ping mpls ipv4 <pe-loopback>/32 — LSP connectivity
  • traceroute <pe-loopback> source <loopback> — labels shown per hop

Verify in this order

ingress PE → LSRs swap → PHP → egress PE

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2644

Confirmation

Confirm action

Continue?