Networking · Routing › MPLS Fundamentals
Verification
Cheat sheet · https://pcornel.dk/topic.php?topic=2648
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— sessionsshow mpls forwarding-table <prefix>— labelsping mpls ipv4 <prefix>/32— LSP testshow mpls interfaces— MPLS enabled per interface
Commands
show mpls forwarding-table- Inspect local label forwarding actions and counters.
ping mplsshow ip route 10.255.0.4show mpls ldp discoveryshow mpls ldp neighborshow mpls ldp bindings 10.255.0.4 32show mpls forwarding-table 10.255.0.4 32show 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