11-26-2024 01:04 PM
Im trying to understand the difference between these two pings below on my cisco 8200.
xxxxxxxxxx#ping ip
Target IP address: x.x.x.41
Repeat count [5]: 2500
Datagram size [100]: 1500
Timeout in seconds [2]:
Extended commands [n]: y
Ingress ping [n]:
Source address or interface: x.x.x.42
DSCP Value [0]:
Type of service [0]:
Set DF bit in IP header? [no]: yes
Validate reply data? [no]:
Data pattern [0x0000ABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 2500, 1500-byte ICMP Echos to x.x.x.41, timeout is 2 seconds:
Packet sent with a source address of x.x.x.42
Packet sent with the DF bit set
!!!!OMMITTED FOR SPACE!!!!!!
Success rate is 100 percent (2500/2500), round-trip min/avg/max = 9/9/26 ms
But my standard ping
XXXXX#ping x.x.x.41 source x.x.x.42 size 1500 df-bit repeat 2500
Type escape sequence to abort.
Sending 2500, 1500-byte ICMP Echos to x.x.x.41, timeout is 2 seconds:
Packet sent with a source address of x.x.x.42
Packet sent with the DF bit set
.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!.!!!.!..!!!!!.!!!!!.!.!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!.!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!..!!!!!!!!!!!!!!!!!!!!!!!!.!!!
!!!.!!!!!!.!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!.!!!!..!!!..!.
Success rate is 90 percent (253/279), round-trip min/avg/max = 9/10/15 ms
I have discovered the issue here is with Verizon having faulty conega perkins and one other time they said it was a clean and scope of fiber required. But what i want to understand, why would the first extended ping not show any issues but the standard ping shows issues. What is the difference between the two above pings that would allow the ping to complete on one, but drop on the other. It appears i set the exact same setting on each but they act differently. I know its a issue with verizon circuit but doesnt quite make sense.
Solved! Go to Solution.
11-26-2024 03:49 PM
"I have been researching about data patterns and have yet to fully understand the exact reasoning on what exactly this does or how it handles the traffic differently. If anyone have any further information, i would greatly appreciate it."
It can impact transmission based on how the bits are encoded on the media.
This subject can be rather complex, sort of in the same realm why there are different CRC algorithms (some perform better for the typical "errors" on some media).
If everything is working as expected, changing data patterns should not impact the transmission, if it does, there's an underlying issue. Very likely depending on what pattern(s) have issues will provide hints about the underlying cause.
Here's what my browser's AI also had to "say":
Ping tests are used to troubleshoot network connectivity issues and diagnose data-dependent problems in a network. The -p
option in the ping command allows users to specify a custom data pattern in the ICMP request packets. This feature is useful for identifying issues related to data-dependent problems, such as packet corruption or misinterpretation.
To use a custom data pattern with the ping command, specify the -p
option followed by the desired pattern. For example:
ping -p ff <destination_ip>
This command sends a ping request with a packet filled with ones (0xFF) to the specified destination IP address.
ping
command is part of the iproute
package, which provides tools for network configuration and troubleshooting.By leveraging custom data patterns with the ping command, network administrators and engineers can gain deeper insights into network behavior and diagnose data-dependent problems more effectively.
11-26-2024 03:52 PM
Oh, a couple of Cisco related reference my browser's AI drew its information from:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide