Pcornel
Networking · Routing › MPLS Fundamentals

LFIB

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

Back to the Topic

Answer

The Label Forwarding Information Base (LFIB) maps each incoming label to an action — swap, pop or push — and the outgoing interface and label; show mpls forwarding-table displays it.

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 forwarding-table — local label, outgoing label, interface, next hop
  • show mpls forwarding-table detail — label stack and MAC

Commands

show mpls forwarding-table
Inspect local label forwarding actions and counters.
traceroute

Verify in this order

incoming label → LFIB lookup → outgoing label + interface → next LSR

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

Confirmation

Confirm action

Continue?