vyos_ping
Ping a host from a VyOS router to get per-reply RTTs and a loss/latency summary. Requires VyOS rolling 2026.08.18 or later.
Instructions
Ping a host from the router.
Returns the API response with the ping output (per-reply RTTs and a
loss/latency summary) in its data field. If no reply arrives the
router reports failure, so the tool errors with the ping output.
Requires VyOS rolling 2026.08.18 or later; older routers lack the
/ping endpoint and this tool reports so.
Args:
host: Destination hostname or IP, e.g. "8.8.8.8"
count: Number of echo requests, 1-10 (default 5)
vrf: Optional VRF to ping from
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vrf | No | ||
| host | Yes | ||
| count | No |