Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Ping

Direct 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.

When to use this

Use it as the first reachability test, and to read what the IOS ping symbols mean.

First 30 seconds

1. Ping tests ICMP reachability and RTT.

2. ! success, . timeout, U unreachable.

3. Firewalls may block ICMP.

4. Test from the right source.

5. Use large DF pings for MTU.

Operational verification

ICMP echo → reply → RTT

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE · Cisco IOS XE · Windows / PowerShell
Key commandping ipv6 <destination> [source <source>]
Scope / prerequisiteUse it as the first reachability test, and to read what the IOS ping symbols mean.
Troubleshoot · 1Reference · 3
What next?3 suggested next steps
Child topics (this level)1
Catalog command links4
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Known-good, broken and when it is fixed Verify boundary

Known-good means the controlled ICMP test succeeds from the same source/VRF and path relevant to the incident, with stable latency/loss for the required window. Broken evidence is reproducible loss at a narrowed boundary. The limit of what it shows: ping success does not show DNS, TCP/UDP ports or application health, and ping failure does not show the destination is down. Closure requires the original workload, not ping alone.

Step 2 Verification and output interpretation Verify boundary

Read sent/received counts, loss percentage and latency together, then correlate source/VRF and route/CEF state. If testing MTU, make packet size and fragmentation behavior explicit.

Step 3 Native failure isolation and next-check logic Narrow the fault

Begin with the exact source context that matches the failing workload. Test local interface/loopback, then next hop, then destination IP. If next hop fails, inspect adjacency/L2; if next hop works but remote fails, inspect route/FIB and intermediate policy. If remote IP ping works but application fails, stop using ping as evidence and move to transport/application. If ping is blocked by design, use route, counters and protocol-specific probes instead of declaring the network down.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • 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.
Key checks
  • ping <ip> — reachability
  • ping <ip> repeat 100 size 1500 df-bit — loss and MTU
ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to avoid random changes and to preserve a repeatable timeline, source context and evidence of recovery.

ReferenceHow it works1 section · depth on demand

How it works

Ping tests ICMP echo reachability between a chosen source and destination, but its meaning depends on source address/VRF, routing, ACL/firewall policy, CoPP and destination ICMP behavior. Success shows a specific ICMP exchange returned; failure does not distinguish local routing, forwarding, return path or ICMP filtering. The diagnostic value comes from controlling source/scope and moving the test boundary one hop or dependency at a time.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

Ping

Ping sends ICMP echo requests and reports replies. Cisco's ping and traceroute technote lists the output characters: ! reply received, . timeout, U destination unreachable, Q source quench, M could not fragment, ? unknown packet type, & packet lifetime exceeded, and the ICMP unreachable codes behind failures (0 network, 1 host, 2 protocol, 3 port, 4 fragmentation needed with DF set).

Reading results

OutputMeaning
!!!!!All replies received
.!!!!First timeout, usually ARP resolution on the first packet
.....No replies: routing, ACL, device down, or no return route
UUUUUA router says the destination is unreachable
MPacket too large with DF set: MTU problem
R1# ping 10.30.0.15
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.30.0.15, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/2 ms
R1# ping 10.30.0.15 source Vlan110 size 1500 df-bit repeat 50
R1# ping vrf GUEST 8.8.8.8
host$ ping -c 4 -M do -s 1472 10.30.0.15

Why ping fails (technote)

CauseCheck
No route, or no return routeshow ip route on both ends
Interface administratively downshow ip interface brief
ACL drops ICMPACLs on the path, implicit deny
ARP incomplete ("encapsulation failed")show arp
Slow link exceeds 2 s timeoutExtended ping with a longer timeout
Source address not routable backPing with a source the far end knows
Input queue dropsshow interfaces

Limits

ICMP may be filtered or rate-limited by firewalls and control-plane policing, so a failed ping doesn't always mean a failed service. Test the actual service port too.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Ping sends ICMP Echo Requests and reports replies and round-trip times, testing basic Layer 3 reachability. On Cisco IOS, extended ping lets you choose source interface, size, count, DF bit and VRF.

ping 10.20.0.15 source Loopback0 repeat 100
ping 10.20.0.15 size 1500 df-bit
ping vrf GUEST 8.8.8.8

Documented example, not captured output.

SymbolMeaning
!Reply received
.Timeout
UDestination unreachable
MFragmentation needed (with DF)
&TTL expired

A failed ping does not prove the service is down: ICMP may be filtered while TCP works.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Protocol/service mechanics and state model

Ping generates ICMP Echo Request/Reply traffic and reports round-trip timing and loss for that specific source/destination context. Extended ping can control source address/interface, VRF, packet size, repeat count and other attributes, turning it into a precise reachability probe. The result represents ICMP handling on one path at one time, not generic application health.

Limits and common misconceptions

Successful ping does not show TCP/UDP ports, DNS, authentication, application processing or the return path for a different source. Failed ping can also reflect ICMP policy rather than general reachability failure. Every assurance signal has blind spots.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration intent

Choose a source that represents the path you actually need to show, use the correct VRF/address family, and vary size/DF only when testing MTU behavior intentionally. Record enough repeats to distinguish one-off loss from persistent behavior.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network Assurance → Troubleshooting → Ping. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded reference data

Quick lookup tables

Ping · operational reference

Compact protocol/state/evidence reference for fast lookup.

Ping variableWhy it matters
SourceChooses return path/policy
VRFRouting context
Size/DFMTU behavior
Loss/RTTProbe result only
Confirmation

Confirm action

Continue?