undocumented extended ping

Unanswered Question
Mar 1st, 2007

I was on a troubleshoot with a TAC engineer and they were doing an extended ping, something along the lines of:

"ping -s: -v -n:50" to specify source, verbose and number of pings instead of using the extended menu where it asks you for each of the options. I can't recall exactly what the format of the command is. Can anyone provide the syntax for this?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
dgahm Thu, 03/01/2007 - 09:24

You can step through the options by entering ping:

Test-rc3745# ping

Protocol [ip]:

Target IP address:

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface:

Type of service [0]:

Set DF bit in IP header? [no]:

Validate reply data? [no]:

Data pattern [0xABCD]:

Loose, Strict, Record, Timestamp, Verbose[none]:

Sweep range of sizes [n]:

Or as a single command to ping from interface and repeat 50 times:

ping ip source repeat 50

A question mark after each argument will show you the options to build the command:

Test-rc3745# ping ip ?

data specify data pattern

df-bit enable do not fragment bit in IP header

repeat specify repeat count

size specify datagram size

source specify source address or name

timeout specify timeout interval

validate validate reply data

Please rate helpful posts.

glen.grant Thu, 03/01/2007 - 16:08

If it was a catos box extended pings be done along the lines of ping -s options .


This Discussion