Use it when a simple ping is not enough: to test from a specific source, with a size, DF bit or repeat count.
Extended ping
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.
extended options → ICMP from chosen source → result
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
pingPrimary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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.
ping— interactive extended pingping <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)
| Field | Default | Use |
|---|---|---|
| Repeat count | 5 | Number of echoes |
| Datagram size | 100 bytes | Packet size |
| Timeout | 2 s | Wait per reply |
| Source address or interface | Outgoing interface | Full interface name, not an abbreviation |
| DSCP / Type of service | 0 | Test QoS treatment |
| Set DF bit | No | With DF set, find the path's smallest MTU |
| Validate reply data | No | Check the returned payload |
| Data pattern | 0xABCD | Reveal framing or clocking problems on serial lines |
| Loose, Strict, Record, Timestamp, Verbose | None | IP options; Record shows up to nine hops each way |
| Sweep range of sizes | No | Vary 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
| Symbol | Meaning |
|---|---|
! | Reply received |
. | Timeout |
U | Destination unreachable |
M | Fragmentation needed with DF set (MTU too small) |
Q | Source quench |
Documented example, not captured output.
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.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%