Command map

resolve ping

Ping from the router with optional source binding.

Ze command

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

The target takes a hostname or an address, and it accepts a zone suffix such as
fe80::1%eth0. The source binds a local address and takes the same zone suffix.
The count runs from 1 to 100 and the payload size from 1 to 65507 bytes. 'show
ping' declares no source leaf and puts no upper bound on its count. The
do-not-fragment keyword is the same word, with the same two values, on both.

Arguments

NameTypeRequiredValuesSummaryDescription
targetstringyesany value of this typeHost or IP address to ping.The value follows the target keyword. A host name is resolved in either address family, and the family of the answer selects ICMPv4 or ICMPv6.
sourcestringnoany value of this typeSource IP address to bind.The value is a local IPv4 or IPv6 address, with an optional %zone, that Ze binds the echo socket to. Absent, the kernel picks the source.
countuintnoany value of this typeNumber of echo requests.Ze sends this many echo requests and waits 5 seconds for each reply. Absent, the value is 4.
sizeuintnoany value of this typeICMP echo payload size in bytes.Ze fills the payload to exactly this many bytes, with its marker copied into the front. Absent, Ze sends the small default payload.
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