Command map

show traceroute

Trace the network path from this router to a target.

Ze command

Registry path
show traceroute
Usage
show traceroute [dest <dest>] [max-hops <max-hops>] [timeout <timeout>] [probes <probes>] [do-not-fragment <honor-cache|bypass-cache>]
Mode
Read-only
Wire method
ze-show:traceroute
Backends
any backend
Task support
optional: the MCP call is synchronous, which is the default
Subcommands
none: this command takes no subcommand
Pipes, always
json, ndjson, table, text, yaml, raw, no-more, save
Pipes, when the answer has rows
match, count, first, last, display, fill
Pipes, while streaming
log
Pipes, local process only
save

Description

Shows each hop with its IP and round-trip time. Dest can be an IP or hostname.
Defaults: 30 max hops, 3 probes per hop. Increase probes for more reliable RTT
measurements.

Arguments

NameTypeRequiredValuesSummaryDescription
deststringnoany value of this typeTarget host or IP address.The value is the first bare word of the command. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6.
max-hopsuintnoany value of this typeMaximum number of hops.The value is the largest time-to-live Ze probes, 1 to 64. The trace stops early when the target answers. Absent, the value is 30.
timeoutstringnoany value of this typeTimeout duration.The value is the time Ze waits for one probe, in Go duration syntax, 1s to 30s. Absent, the value is 3s.
probesuintnoany value of this typeNumber of probes per hop.The value is the number of probes Ze sends at each time-to-live, 1 to 10, and each probe reports its own round-trip time. Absent, the value is 3.
do-not-fragmentenumnohonor-cache bypass-cacheSet the Don't Fragment bit; honor-cache obeys the cached path MTU, bypass-cache ignores it.The keyword takes one of two values. honor-cache sets the Don't Fragment bit and honors the kernel's cached path MTU: a probe larger than the cached value is refused at send time, and a router's Fragmentation Needed answer updates the cache. bypass-cache sets the bit and ignores the cached value, so the probe is put on the wire at its full size. Absent, the kernel fragments a probe larger than the path, which is the behavior of before the keyword existed.

Mapping intents

Ping and traceroute diagnostics

Category: Diagnostics

Juniper Junos MX

No equivalent is listed for this vendor yet.

Cisco IOS XR

No equivalent is listed for this vendor yet.

Nokia SR OS

Ping and traceroute diagnostics

ping <target> verified source: MD-CLI user guide