Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Ping in IOS

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

7 REPLIES
Gold

Re: Ping in IOS

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 ?

New Member

Re: Ping in IOS

Well, the optionsdoes the offer Windows style ping. Any ideas?

New Member

Re: Ping in IOS

I mean the Ping 10.1.1.1 ? option does not offer any Windows style Ping.

Re: Ping in IOS

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

New Member

Re: Ping in IOS

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)

New Member

Re: Ping in IOS

ping option,of course has lots off parameter

New Member

Re: Ping in IOS

Didn't get you, how is this output different to the normal ping in IOS ?

544
Views
0
Helpful
7
Replies
CreatePlease to create content