01-13-2009 11:05 PM - edited 03-06-2019 03:25 AM
What is the IOS PING command for a DOS style below?
P:\>ping 10.1.1.1
Pinging 10.1.1.1 with 32 bytes of data:
Reply from 10.1.1.1: bytes=32 time<1ms TTL=253
Reply from 10.1.1.1: bytes=32 time<1ms TTL=253
Reply from 10.1.1.1: bytes=32 time<1ms TTL=253
Reply from 10.1.1.1: bytes=32 time<1ms TTL=253
01-14-2009 12:26 AM
Its no suprise its command
PING 10.1.1.1
Offers some more option (like change source, specify packet lenght, packet numbers etc..)
try ? to see options
PING 10.1.1.1 ?
01-14-2009 12:35 AM
Well, the optionsdoes the offer Windows style ping. Any ideas?
01-14-2009 12:41 AM
I mean the Ping 10.1.1.1 ? option does not offer any Windows style Ping.
01-14-2009 04:39 AM
Hi,
You will not get the ping as specifed in the windows dos commnad.
You need to use "?"
Ping 10.1.1.1 ?
will provide you with option.
simple example is in win we have ping 10.1.1.1 -t
on cisco it would be
ping 10.1.1.1 rep 100 or 100000
Hope this helps
01-14-2009 03:37 PM
Well, Found the answer. Below is the example.
Router#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 100
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: Serial0/0
Type of service [0]: 2
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]: Verbose
Loose, Strict, Record, Timestamp, Verbose[V]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 10.1.1.2
Reply to request 0 (12 ms)
Reply to request 1 (8 ms)
Reply to request 2 (12 ms)
Reply to request 3 (8 ms)
Reply to request 4 (12 ms)
Reply to request 5 (8 ms)
Reply to request 6 (8 ms)
Reply to request 7 (12 ms)
Reply to request 8 (8 ms)
Reply to request 9 (8 ms)
Reply to request 10 (8 ms)
Reply to request 11 (8 ms)
Reply to request 12 (12 ms)
01-14-2009 09:01 PM
ping option,of course has lots off parameter
01-14-2009 11:01 PM
Didn't get you, how is this output different to the normal ping in IOS ?
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