Pcornel
Networking · Routing › MPLS Fundamentals

Verification

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

Back to the Topic

Answer

Verify MPLS in order: IGP routes to PE loopbacks, LDP neighbours (show mpls ldp neighbor), label bindings (show mpls ldp bindings) and the LFIB (show mpls forwarding-table), then a traceroute along the LSP.

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

  • show mpls ldp neighbor — sessions
  • show mpls forwarding-table <prefix> — labels
  • ping mpls ipv4 <prefix>/32 — LSP test
  • show mpls interfaces — MPLS enabled per interface

Commands

show mpls forwarding-table
Inspect local label forwarding actions and counters.
ping mpls
show ip route 10.255.0.4
show mpls ldp discovery
show mpls ldp neighbor
show mpls ldp bindings 10.255.0.4 32
show mpls forwarding-table 10.255.0.4 32
show mpls ldp igp sync

Verify in this order

interfaces → IGP → LDP → bindings → LFIB → LSP ping

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=2648

Confirmation

Confirm action

Continue?