cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1335
Views
0
Helpful
7
Replies

Ping in IOS

chee-ben.tan
Level 1
Level 1

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 7

m.sir
Level 7
Level 7

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 ?

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

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

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

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)

ping option,of course has lots off parameter

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card