Ze command
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
| Name | Type | Required | Values | Summary | Description |
|---|---|---|---|---|---|
target | string | yes | any value of this type | Host 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. |
source | string | no | any value of this type | Source 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-hops | uint | no | any value of this type | Largest time-to-live to probe. | The trace stops early when the target answers. Absent, the value is 30. |
timeout | string | no | any value of this type | Per-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. |
probes | uint | no | any value of this type | Number of probes per hop. | Each probe at one time-to-live reports its own round-trip time. Absent, the value is 3. |
do-not-fragment | enum | no | honor-cache bypass-cache | Set 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. |