Use it to find where along the path packets stop or slow down.
Traceroute
1. Traceroute shows hops via TTL expiry.
2. * means no reply (not necessarily loss).
3. Return path may differ.
4. Load balancing shows multiple paths.
5. Use from the relevant source.
TTL 1,2,3… → time exceeded → path
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
traceroute ipv6 <destination>Primary Commands
Configuration and operational commands for this Topic.
traceroute ipv6 <destination>ReferenceObserve routed IPv6 hop path using Hop Limit expiry behavior.
Cisco IOS XE · mixedtraceroute <destination>ReferenceTrace the path to a destination.
Use when: Use at the Network Troubleshooting, Ping, Traceroute and Debugging boundary after prerequisite state is verified.
Quick note: Operational guidance. One successful probe does not prove all sources, packet sizes, protocols, directions or times are healthy.
Cisco IOS / IOS XE · mixedVerification & 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 Known-good, broken and when it is fixed Verify boundary
Known-good is a path consistent with design/baseline that reaches the intended destination, combined with successful original service traffic. Broken evidence is a reproducible path change or stop point corroborated by routing/forwarding evidence. The limit of what it shows: missing intermediate responses do not show packet loss, and reaching the destination by traceroute does not show application health. Use it to narrow, not close, the incident.
Step 2 Verification and output interpretation Verify boundary
Compare the hop sequence with route/CEF expectations, note where replies stop or diverge, and use destination response as the strongest evidence that the probe itself reached the endpoint. Interpret asterisks in context of later responding hops.
Step 3 Native failure isolation and next-check logic Narrow the fault
Run traceroute from the same source/VRF as the failing service when possible and compare with a known-good baseline. If the trace stops, verify whether the next device is expected to answer TTL expiry before declaring that hop failed. Correlate the last responsive boundary with routing/FIB and interface counters. If paths vary, consider ECMP and run repeated controlled traces. If destination is reached but the application fails, move to transport/application evidence immediately.
- Ping tests a specific ICMP path/source, not every protocol
- Extended ping controls source, VRF, size, DF and repetition
- Traceroute infers TTL-expiry hops and can be altered by filtering, ECMP and asymmetry
- Debug is live and potentially expensive; scope it and disable it promptly.
traceroute <ip>— hop pathtraceroute <ip> source <interface> numeric— controlled source
ReferenceWhat it is1 section · depth on demand
What it is
Structured troubleshooting converts a symptom into bounded hypotheses and collects the least invasive evidence needed to isolate a failing layer or dependency.
ReferenceHow it works1 section · depth on demand
How it works
Traceroute infers path progression from TTL/hop-limit expiration and destination responses. Each displayed hop is a control-plane response, not a guarantee that all transit traffic uses that exact path; ECMP, MPLS, ICMP rate limiting, firewalls and asymmetric routing can create gaps or varying hops. The final destination response and change point are more important than interpreting every * as a failure.
ReferenceImportant terms & boundaries4 sections · depth on demand
In depth
Traceroute
Traceroute shows the path to a destination. Cisco's technote explains how the IOS version works: it sends UDP probes to an unlikely port, starting with TTL 1 and increasing it each round, three probes per TTL; each router where the TTL expires returns ICMP time exceeded, revealing its address, and the destination answers with ICMP port unreachable, which ends the trace.
Output characters (technote)
| Character | Meaning |
|---|---|
nn msec | Round-trip time for a probe |
* | Probe timed out |
A | Administratively prohibited (ACL) |
H / N / P | Host / network / protocol unreachable |
U | Port unreachable |
Q | Source quench |
? | Unknown packet type |
R1# traceroute 10.30.0.15 numeric
Type escape sequence to abort.
Tracing the route to 10.30.0.15
1 10.0.12.2 1 msec 1 msec 1 msec
2 10.0.23.3 2 msec 1 msec 2 msec
3 10.30.0.15 2 msec * 2 msec
R1# traceroute 203.0.113.80 numeric
1 198.51.100.1 1 msec 1 msec 1 msec
2 * * *
3 192.0.2.17 9 msec 8 msec 9 msec
host$ traceroute -n -T -p 443 10.30.0.15
host$ mtr -n --report 10.30.0.15
C:\> tracert -d 10.30.0.15
Reading traces
| Pattern | Likely meaning |
|---|---|
| Stars on one hop, later hops answer | That router doesn't send ICMP time exceeded (or rate-limits it); not a fault |
| Stars from a hop onwards | Traffic stops there: filtering or routing problem beyond |
| Same hops repeating | Routing loop |
| Big latency jump at one hop that persists | The link after that hop (distance, congestion) |
!A | ACL blocking the probes |
Variants
| Tool | Probe type |
|---|---|
Cisco IOS, Linux traceroute | UDP by default |
Windows tracert | ICMP echo |
traceroute -T / tcptraceroute | TCP SYN to a chosen port (passes firewalls that allow the service) |
Traceroute shows the forward path only; the return path can differ.
Documented example, not captured output.
Quick reference
Traceroute discovers the hop-by-hop path to a destination by sending probes with increasing TTL; each router that drops a probe with TTL 0 replies with ICMP Time Exceeded. Cisco IOS uses UDP probes by default; Windows tracert uses ICMP.
traceroute 10.60.0.10 source Loopback0 numeric
traceroute vrf GUEST 8.8.8.8
Documented example, not captured output.
| Output | Interpretation |
|---|---|
* * * at one hop, later hops answer | That router rate-limits or filters ICMP |
* * * from a hop onward | Path breaks there or filtering beyond |
!H, !N, !A | Host/network unreachable, administratively prohibited |
Run traceroute in both directions; return paths are often different.
Protocol/service mechanics and state model
Traceroute sends probes with increasing TTL or Hop Limit so intermediate routers expire packets and may return ICMP time-exceeded messages. The final response depends on the implementation and probe protocol. The visible sequence therefore reflects both forwarding and control-plane reply policy, and load balancing can make successive probes follow different equal-cost paths.
Limits and common misconceptions
An asterisk does not show a packet was dropped at that hop; the router may forward normally while suppressing TTL-expired replies. The forward and return paths can also differ. Every assurance signal has blind spots.
ReferenceConfiguration & state1 section · depth on demand
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 Network Assurance → Troubleshooting → Traceroute. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%Quick lookup tables
Traceroute · operational reference
Compact protocol/state/evidence reference for fast lookup.
| Traceroute observation | Meaning |
|---|---|
| Hop replies | TTL-expired response received |
| Asterisk | No reply to that probe |
| Different hops | ECMP/asymmetry possible |
| Destination reply | Probe reached endpoint |