Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Extended ping

Direct answer

Extended ping on IOS (ping with no arguments in privileged mode, or ping <ip> source <if> size <n> df-bit repeat <n>) tests from a specific source and with large or DF-flagged packets to find MTU and return-path problems.

When to use this

Use it when a simple ping is not enough: to test from a specific source, with a size, DF bit or repeat count.

First 30 seconds

1. Extended ping sets source, size, DF bit, count, timeout and sweep.

2. Source matters for return routing tests.

3. Sweep finds MTU limits.

4. Use VRF option.

5. Record results.

Operational verification

extended options → ICMP from chosen source → result

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 · Windows / PowerShell
Key commandping
Scope / prerequisiteUse it when a simple ping is not enough: to test from a specific source, with a size, DF bit or repeat count.
Troubleshoot · 1
What next?3 suggested next steps
Catalog command links1
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 an extended ping that accurately models the relevant source, VRF and packet size succeeds within the expected loss/latency envelope. Broken evidence is a reproducible parameter-dependent failure that narrows the boundary. The limit of what it shows: even a successful source-specific ICMP test does not show the application protocol or DNS; it only validates the selected ICMP path characteristics. Confirm with the original workload.

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

Select the same source/VRF used by the affected service, then vary one dimension at a time. If small packets pass but larger DF-set packets fail, investigate MTU/PMTUD. If default-source ping works but source-specific ping fails, inspect return routing/policy for that source. If one VRF succeeds and another fails, stay inside the failing routing table. Use repeat counts to distinguish intermittent loss, but correlate loss with interface/queue counters rather than assuming congestion.

Step 3 Common mistakes Narrow the fault
  • Not setting the source interface.
  • Ignoring the DF bit option when testing MTU.
Command lookup Jump straight to Cisco syntax
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 — interactive extended ping
  • ping <ip> source <interface> size <n> df-bit repeat <n> — one-line form
ReferenceHow it works1 section · depth on demand

How it works

Extended ping increases diagnostic specificity by controlling source interface/address, VRF, size, repeat count, timeout and sometimes DF/ToS options. This lets the test emulate the routing domain and packet-size characteristics of a failing workload instead of using the router's default source. The chosen parameters become part of the evidence and must be recorded; changing multiple options between tests weakens comparison.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Extended ping

Extended ping lets you control what a ping tests. Cisco's technote explains why the source matters: a normal ping uses the outgoing interface's address, so it only proves connectivity between that interface and the target; an extended ping sourced from, for example, a LAN interface also tests the return path to that LAN.

Fields and defaults (technote)

FieldDefaultUse
Repeat count5Number of echoes
Datagram size100 bytesPacket size
Timeout2 sWait per reply
Source address or interfaceOutgoing interfaceFull interface name, not an abbreviation
DSCP / Type of service0Test QoS treatment
Set DF bitNoWith DF set, find the path's smallest MTU
Validate reply dataNoCheck the returned payload
Data pattern0xABCDReveal framing or clocking problems on serial lines
Loose, Strict, Record, Timestamp, VerboseNoneIP options; Record shows up to nine hops each way
Sweep range of sizesNoVary sizes to find MTU limits
R1# ping
Protocol [ip]:
Target IP address: 10.60.4.1
Repeat count [5]: 100
Datagram size [100]: 1500
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: Vlan110
DSCP Value [0]: 46
Set DF bit in IP header? [no]: yes
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Sending 100, 1500-byte ICMP Echos to 10.60.4.1, timeout is 2 seconds:
Packet sent with a source address of 10.110.0.1
Packet sent with the DF bit set
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 2/3/9 ms
R1# ping 10.60.4.1 source Vlan110 size 1500 df-bit repeat 100

The one-line form gives the same test without the prompts.

Using it to isolate problems (technote)

When two hosts can't reach each other, ping between the routers sourced from one LAN interface to the other router's LAN interface. Success means routing works and the hosts' default gateways should be checked; failure means a routing problem on the routers.

Reading results

SymbolMeaning
!Reply received
.Timeout
UDestination unreachable
MFragmentation needed with DF set (MTU too small)
QSource quench

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

Extended ping turns the simple reachability test into a precise diagnostic tool. You can choose which interface or address the ping comes from, send large packets with the Don't Fragment bit set to find MTU problems, run hundreds of probes to expose intermittent loss, and test inside a VRF. The result characters tell you more than "success or failure" once you know what each means.

Extended ping on IOS sets source, size, DF bit, repeat count and data patterns — essential for MTU and path testing.

ping 10.50.1.10 source Loopback0 repeat 100 size 1500 df-bit
ping 10.50.1.10 size 1472 df-bit         ! 1472 + 28 = 1500
ping vrf GUEST 8.8.8.8
ping
 Protocol [ip]:
 Target IP address: 10.50.1.10
 Extended commands [n]: y
 Sweep range of sizes [n]: y

Result characters: ! reply, . timeout, U unreachable, M fragmentation needed (DF set, MTU too small), Q source quench, & TTL exceeded.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
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 → Extended 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%
Confirmation

Confirm action

Continue?