Command map

resolve traceroute

Traceroute from the router with optional source binding.

Ze command

Registry path
resolve traceroute
Usage
resolve traceroute <target> [source <source>] [max-hops <max-hops>] [timeout <timeout>] [probes <probes>] [do-not-fragment <honor-cache|bypass-cache>]
Mode
Read-only
Wire method
ze-resolve: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

The options are source, max-hops, timeout and probes, each one a
keyword and a value, and do-not-fragment, a keyword with one of two values. max-hops is 1 to 64 and defaults to 30, probes is 1 to 10 and defaults
to 3, and timeout is 1s to 30s and defaults to 3s. The source also selects the address
family: a target name is resolved in the family of the source, and a target with no
address in that family is refused.

Arguments

NameTypeRequiredValuesSummaryDescription
targetstringyesany value of this typeHost or IP address to trace to.The value follows the target keyword. A host name is resolved in the family of the source, or in either family when no source is given, and a name with no address in that family is refused.
sourcestringnoany value of this typeSource IP address to bind, whose family also selects the family the target is resolved in.The value is a local IPv4 or IPv6 address, with an optional %zone, that Ze binds the probe socket to. Absent, the kernel picks the source.
max-hopsuintnoany value of this typeLargest time-to-live to probe.The trace stops early when the target answers. Absent, the value is 30.
timeoutstringnoany value of this typePer-probe timeout, 1s to 30s, in Go duration syntax.The value is the time Ze waits for one probe before it records a missing answer. Absent, the value is 3s.
probesuintnoany value of this typeNumber of probes per hop.Each probe at one time-to-live 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