Verify Connectivity (Ping Test)
verify_connectivityPing destinations from a Packet Tracer device and report sent, received, and loss per destination, retrying failed targets. Use it to test end-to-end reachability and routing in a lab.
Instructions
Ping each destination from a device (PC/server Command Prompt or a Cisco device) and report sent/received/ loss per destination. A destination that loses everything is retried (ARP resolution and STP on fresh switch links make the first ping fail). Raw output is included only for failures. The standard way to verify a CCNA lab end to end.
Examples:
"Can PC1 reach its gateway, the server and the other LAN?"
"Verify connectivity from PC1 to 192.168.1.1, 192.168.2.10 and 8.8.8.8"
"Is my static routing working?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') | |
| attempts | No | Pings per destination if all packets are lost | |
| destinations | Yes | IP addresses or hostnames to ping |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |