Networking · Network Assurance › Troubleshooting
Ping
Cheat sheet · https://pcornel.dk/topic.php?topic=726
Answer
Ping sends ICMP echo requests and reports replies and round-trip time; on IOS, ! means a reply, . a timeout and U unreachable. Extended ping sets source, size, count and DF bit.
Remember
- Ping tests a specific ICMP path/source, not every protocol
- Extended ping controls source, VRF, size, DF and repetition
- Traceroute infers TTL-expiry hops and can be altered by filtering, ECMP and asymmetry
- Debug is live and potentially expensive; scope it and disable it promptly.
First checks
ping <ip>— reachabilityping <ip> repeat 100 size 1500 df-bit— loss and MTU
Commands
ping- Send ICMP echo requests from Windows.
ping ipv6 <destination> [source <source>]- Generate scoped IPv6 reachability evidence.
ping <destination>- Send ICMP echo requests to test reachability.
ping vrf <vrf> <destination>- Ping a destination inside a VRF.
show ip routeshow ip interface briefshow arpshow interfaces
Verify in this order
ICMP echo → reply → RTT
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Ping · operational reference
| Ping variable | Why it matters |
|---|---|
| Source | Chooses return path/policy |
| VRF | Routing context |
| Size/DF | MTU behavior |
| Loss/RTT | Probe result only |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=726