Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

LFIB

Direct 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.

When to use this

Use it when tracing how a labelled packet is forwarded hop by hop.

First 30 seconds

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.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE
Key commandshow mpls forwarding-table
Scope / prerequisiteUse it when tracing how a labelled packet is forwarded hop by hop.
Show · 1
What next?3 suggested next steps
Catalog command links1
Evidence0
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

4 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 Label as normal in the core.
  • Clearing LDP sessions without need.
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show mpls forwarding-table — local label, outgoing label, interface, next hop
  • show 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

FieldMeaning
Local labelLabel this router advertised for the FEC; arrives on incoming packets
Outgoing labelLabel to swap to, or Pop Label / No Label
PrefixThe FEC
Outgoing interface and next hopWhere the packet goes
Bytes switchedTraffic counter

Outgoing label values

ValueAction
A numberSwap
Pop LabelRemove the top label (penultimate hop popping, RFC 3031)
No LabelRemove all labels and forward as IP (neighbour gave no binding)
AggregatePop 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

TableUsed for
FIB (CEF)Unlabelled IP packets; at the ingress it also imposes labels (the FTN role)
LFIBLabelled packets (the ILM role)

Troubleshooting with the LFIB

SymptomLikely cause
No Label for a PE loopbackLDP session to the next hop missing, or label filtering
Wrong outgoing interfaceIGP path differs from the expected LSP
Bytes switched stays 0Traffic not using this LSP

traceroute across an MPLS core shows the labels per hop when the core propagates TTL.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 3031

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%
Confirmation

Confirm action

Continue?