Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Traceroute

Direct answer

Traceroute increases the TTL (or hop limit) per probe so each router on the path returns ICMP time exceeded, revealing the hops; firewalls and asymmetric paths can hide or distort hops.

When to use this

Use it to find where along the path packets stop or slow down.

First 30 seconds

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.

Operational verification

TTL 1,2,3… → time exceeded → path

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
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.

PlatformCisco IOS / IOS XE · Cisco IOS XE
Key commandtraceroute ipv6 <destination>
Scope / prerequisiteUse it to find where along the path packets stop or slow down.
Reference · 2
What next?3 suggested next steps
Catalog command links2
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

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

Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • traceroute <ip> — hop path
  • traceroute <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)

CharacterMeaning
nn msecRound-trip time for a probe
*Probe timed out
AAdministratively prohibited (ACL)
H / N / PHost / network / protocol unreachable
UPort unreachable
QSource 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

PatternLikely meaning
Stars on one hop, later hops answerThat router doesn't send ICMP time exceeded (or rate-limits it); not a fault
Stars from a hop onwardsTraffic stops there: filtering or routing problem beyond
Same hops repeatingRouting loop
Big latency jump at one hop that persistsThe link after that hop (distance, congestion)
!AACL blocking the probes

Variants

ToolProbe type
Cisco IOS, Linux tracerouteUDP by default
Windows tracertICMP echo
traceroute -T / tcptracerouteTCP 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.

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

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.

OutputInterpretation
* * * at one hop, later hops answerThat router rate-limits or filters ICMP
* * * from a hop onwardPath breaks there or filtering beyond
!H, !N, !AHost/network unreachable, administratively prohibited

Run traceroute in both directions; return paths are often different.

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

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

Design and configuration intent

Use a probe mode/source/VRF that matches the traffic context you care about, collect multiple probes where ECMP is expected, and preserve both hop identity and latency rather than treating the output as a single deterministic path map.

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 docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

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%
Embedded reference data

Quick lookup tables

Traceroute · operational reference

Compact protocol/state/evidence reference for fast lookup.

Traceroute observationMeaning
Hop repliesTTL-expired response received
AsteriskNo reply to that probe
Different hopsECMP/asymmetry possible
Destination replyProbe reached endpoint
Confirmation

Confirm action

Continue?