Pcornel
Networking · Network Assurance › Troubleshooting

Ping

Cheat sheet · https://pcornel.dk/topic.php?topic=726

Back to the Topic

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> — reachability
  • ping <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 route
show ip interface brief
show arp
show 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 variableWhy it matters
SourceChooses return path/policy
VRFRouting context
Size/DFMTU behavior
Loss/RTTProbe 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

Confirmation

Confirm action

Continue?