Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Verification · MPLS Fundamentals

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

When to use this

Use it after configuring MPLS, or when labelled traffic is lost between PE routers.

First 30 seconds

1. Verify MPLS bottom-up: interfaces, IGP, LDP, bindings, LFIB, LSP tests.

2. Test both directions.

3. Check MTU with large pings.

4. Compare against a working PE.

5. Use MPLS OAM, not only IP ping.

Operational verification

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

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 after configuring MPLS, or when labelled traffic is lost between PE routers.
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.

3 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 Commands Verify boundary
show mpls ldp neighbor
show mpls ldp bindings 10.0.0.5 32
show mpls forwarding-table 10.0.0.5 32
ping mpls ipv4 10.0.0.5/32
traceroute mpls ipv4 10.0.0.5/32
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 Common mistakes Narrow the fault
  • Using normal ping instead of ping mpls to test the LSP.
  • Testing to a non-/32 prefix.
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 ldp neighbor — sessions
  • show mpls forwarding-table <prefix> — labels
  • ping mpls ipv4 <prefix>/32 — LSP test
  • show mpls interfaces — MPLS enabled per interface
ReferenceWhat it is1 section · depth on demand

How it works

Verify MPLS bottom-up: IGP route to the remote loopback, LDP session up, local and remote label bindings, LFIB entry with an outgoing label (not No Label), then an end-to-end MPLS ping/traceroute to the /32 loopback.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Why ping mpls is the right test

RFC 8029 LSP ping sends an MPLS echo request (UDP 3503) inside the label stack of the LSP being tested. Its IP destination is in 127.0.0.0/8, so if the LSP breaks and a router forwards the packet as plain IP, it is not delivered to the egress by accident — the failure becomes visible. A normal ping between loopbacks can succeed over IP while the LSP is broken.

R1# ping mpls ipv4 10.255.0.4/32
Sending 5, 72-byte MPLS Echos to 10.255.0.4/32,
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
  'B' - unlabeled output interface, 'N' - no label entry, 'R' - transit router
!!!!!
R1# traceroute mpls ipv4 10.255.0.4/32
  0 10.1.12.1 MRU 1500 [Labels: 18 Exp: 0]
L 1 10.1.12.2 MRU 1500 [Labels: 22 Exp: 0] 2 ms
L 2 10.1.23.3 MRU 1504 [Labels: implicit-null Exp: 0] 2 ms
! 3 10.1.34.4 3 ms

Reading the result

CodeMeaningNext check
!Egress repliedLSP works
.TimeoutReply path, ACL/CoPP, or broken LSP
B at a hopPacket leaves that hop unlabelledMissing remote binding there — LDP session or mpls ip on the next link
NNo label entry for the FECLDP has not bound the /32
QNot sentNo route or no label at the source

Bottom-up checklist with expected output

LayerCommandExpected
IGPshow ip route 10.255.0.4/32 via the IGP, not a summary
LDP discoveryshow mpls ldp discoveryHellos sent and received on each core link
LDP sessionshow mpls ldp neighborState: Oper
Bindingshow mpls ldp bindings 10.255.0.4 32Local and remote labels
LFIBshow mpls forwarding-table 10.255.0.4 32Numeric or Pop Label outgoing label, not No Label
LDP–IGP syncshow mpls ldp igp syncSync achieved on every core interface

Loopbacks must be advertised as /32: LDP binds labels per exact prefix, and a summarised loopback breaks the LSP even when IP reachability looks fine.

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.
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 → Verification. 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?