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 192.168.1.1 -s:192.168.10.1 -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)
Loading.
dgahm Thu, 03/01/2007 - 09:24

You can step through the options by entering ping:

Test-rc3745# ping

Protocol [ip]:

Target IP address: 10.129.0.1

Repeat count [5]:

Datagram size [100]:

Timeout in seconds [2]:

Extended commands [n]: y

Source address or interface: 10.138.0.1

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 10.129.0.1 from interface 10.138.0.1 and repeat 50 times:

ping ip 10.129.0.1 source 10.138.0.1 repeat 50

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

Test-rc3745# ping ip 10.129.0.1 ?

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 .

Actions

This Discussion