Use it when tracing how a labelled packet is forwarded hop by hop.
LFIB
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.
1. The LFIB maps incoming label to outgoing label and interface.
2. Pop Label or implicit-null means PHP.
3. No Label means forwarding as IP.
4. Bytes switched counters show use.
5. Missing entries usually mean missing LDP bindings or IGP routes.
incoming label → LFIB lookup → outgoing label + interface → next LSR
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show mpls forwarding-tableShow Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification and what it shows Verify boundary
Trace the exact FEC through LFIB entries on consecutive LSRs and compare local label, outgoing label, interface and next hop while generating traffic. LFIB presence shows installed forwarding intent at that node; counters/packet observation and the original service test are required to show packets actually traverse the path successfully.
Step 2 Verification & troubleshooting Narrow the fault
1. Verify IGP and router ID.
2. Verify MPLS enablement and discovery.
3. Verify LDP session.
4. Compare local/remote bindings.
5. Inspect LFIB action and data-plane counters.
6. Check service/VRF separately.
Step 3 Observation → implication → next check Narrow the fault
Observation → implication → next check: no LFIB entry for the FEC moves back to IGP and label binding. Entry with unexpected outgoing label/interface moves to next-hop and binding selection. Correct push/swap/pop with drops moves to interface/MTU or the next LSR. Correct transport labels with service failure moves to VPN/VRF or application context.
Step 4 Common mistakes Narrow the fault
- Reading
No Labelas normal in the core. - Clearing LDP sessions without need.
- 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.
show mpls forwarding-table— local label, outgoing label, interface, next hopshow mpls forwarding-table detail— label stack and MAC
ReferenceWhy it matters1 section · depth on demand
How it works in operation
The LFIB is the MPLS data-plane table that maps incoming or imposed label context to push, swap, pop and outgoing next-hop actions. It is derived from routing plus label bindings but is the closer evidence for actual label forwarding. Control-plane labels can exist while the effective LFIB entry is absent or points to an unexpected interface.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
LFIB: the label forwarding table
The LFIB is the table an LSR uses to forward labelled packets. RFC 3031 doesn't use the term itself; it describes the same function as the Incoming Label Map (ILM), which maps an incoming label to a Next Hop Label Forwarding Entry (NHLFE) holding the next hop, the label operation (swap, pop, or swap and push) and encapsulation details. Cisco shows it with show mpls forwarding-table.
LFIB fields
| Field | Meaning |
|---|---|
| Local label | Label this router advertised for the FEC; arrives on incoming packets |
| Outgoing label | Label to swap to, or Pop Label / No Label |
| Prefix | The FEC |
| Outgoing interface and next hop | Where the packet goes |
| Bytes switched | Traffic counter |
Outgoing label values
| Value | Action |
|---|---|
| A number | Swap |
| Pop Label | Remove the top label (penultimate hop popping, RFC 3031) |
| No Label | Remove all labels and forward as IP (neighbour gave no binding) |
| Aggregate | Pop and do an IP lookup (for example a VPN aggregate) |
P1# show mpls forwarding-table
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
16 Pop Label 10.255.0.1/32 51200 Gi0/0/1 10.0.12.1
17 Pop Label 10.255.0.4/32 120744 Gi0/0/2 10.0.24.4
18 19 10.255.0.5/32 40211 Gi0/0/3 10.0.25.5
19 No Label 192.0.2.0/24 0 Gi0/0/4 10.0.26.6
P1# show mpls forwarding-table labels 18 detail
LFIB versus FIB
| Table | Used for |
|---|---|
| FIB (CEF) | Unlabelled IP packets; at the ingress it also imposes labels (the FTN role) |
| LFIB | Labelled packets (the ILM role) |
Troubleshooting with the LFIB
| Symptom | Likely cause |
|---|---|
No Label for a PE loopback | LDP session to the next hop missing, or label filtering |
| Wrong outgoing interface | IGP path differs from the expected LSP |
| Bytes switched stays 0 | Traffic not using this LSP |
traceroute across an MPLS core shows the labels per hop when the core propagates TTL.
Documented example, not captured output.
Quick reference
The LFIB is the table an MPLS router uses to forward labelled packets: for each incoming label it lists the outgoing label (or pop), the interface and the next hop. Reading it is the quickest way to see whether a label-switched path is complete, because a missing outgoing label shows exactly where the path breaks.
The LFIB (Label Forwarding Information Base) is the data-plane table mapping incoming labels to outgoing label operations and interfaces.
show mpls forwarding-table
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
24 Pop Label 10.255.0.2/32 0 Te0/0/0 10.1.1.2
25 30 10.255.0.9/32 48217 Te0/0/0 10.1.1.2
Documented example, not captured output. "Pop Label" = penultimate hop popping; "No Label" = the LSP is broken (LDP not running towards that neighbour).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → MPLS Fundamentals → LFIB. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc3031.html · confidence 94%