Command map

show ping

Ping a target from the router itself.

Ze command

Registry path
show ping
Usage
show ping [dest <dest>] [count <count>] [size <size>] [timeout <timeout>] [do-not-fragment <honor-cache|bypass-cache>]
Mode
Read-only
Wire method
ze-show:ping
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

Sends ICMP echo requests to <dest> (IP or hostname). Default count is 5.
Timeout uses Go duration syntax (e.g. 3s, 500ms). Confirms reachability from
this box, not from your workstation.

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.
countuintnoany value of this typeNumber of ping packets.The value is the number of echo requests Ze sends, 1 to 100, paced 10 milliseconds apart. Absent, the value is 5.
sizeuintnoany value of this typeICMP echo payload size in bytes (1-65507). Omit for the engine default.Ze fills the payload to exactly this many bytes, with its marker copied into the front so a capture still identifies the sender.
timeoutstringnoany value of this typeTimeout duration.The value is the time Ze waits for each reply, in Go duration syntax, 1s to 30s. Absent, the value is 5s.
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