Use it after configuring MPLS, or when labelled traffic is lost between PE routers.
Verification · MPLS Fundamentals
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.
interfaces → IGP → LDP → bindings → LFIB → LSP ping
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 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
Step 3 Common mistakes Narrow the fault
- Using normal ping instead of
ping mplsto test the LSP. - Testing to a non-/32 prefix.
- 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 ldp neighbor— sessionsshow mpls forwarding-table <prefix>— labelsping mpls ipv4 <prefix>/32— LSP testshow 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
| Code | Meaning | Next check |
|---|---|---|
! | Egress replied | LSP works |
. | Timeout | Reply path, ACL/CoPP, or broken LSP |
B at a hop | Packet leaves that hop unlabelled | Missing remote binding there — LDP session or mpls ip on the next link |
N | No label entry for the FEC | LDP has not bound the /32 |
Q | Not sent | No route or no label at the source |
Bottom-up checklist with expected output
| Layer | Command | Expected |
|---|---|---|
| IGP | show ip route 10.255.0.4 | /32 via the IGP, not a summary |
| LDP discovery | show mpls ldp discovery | Hellos sent and received on each core link |
| LDP session | show mpls ldp neighbor | State: Oper |
| Binding | show mpls ldp bindings 10.255.0.4 32 | Local and remote labels |
| LFIB | show mpls forwarding-table 10.255.0.4 32 | Numeric or Pop Label outgoing label, not No Label |
| LDP–IGP sync | show mpls ldp igp sync | Sync 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.
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 → Verification. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc3031.html · confidence 94%