Privileged Mode

ping

Use the ping command to send a sequence of ICMP echo request packets to the specified host. If the host variable is omitted, and you are in Privileged mode, the router prompts you for additional information. Note: The ping command verifies a connection and is a very important troubleshooting tool.

Syntax: # ping {address [-i time] [-l size] [-n count] [-w timeout]stop}

Field

Definition

address

IP address of the host to ping.

 

 

 

-i

time

Specifies the intervals between pings.

 

 

Range is 0 - 600000 milliseconds.

 

 

 

-l

size

Specifies the size of the ping requests packets to be sent.

 

 

Range 64 - 1518.

 

 

 

-n

count

Specifies the number of ping requests to be sent.

 

 

Range 1-1000. Default is 4.

 

 

-wtimeout

Specifies the time to wait for a response before sending the next ping

 

 

request packet. Timeout is given in seconds. Range 1-600000. Default

 

 

is 2 seconds.

 

 

stop

Stop the ping process.

 

 

 

Example: Adit 3500# ping 192.168.1.1

packet #1 has arrived packet #2 has arrived packet #3 has arrived packet #4 has arrived

4 packets transmitted, 4 packets received round-trip min/avg/max = 1/3/9 ms

Example: Adit 3500# ping 192.168.1.1 -n 2 -l 500

packet #1 has arrived packet #2 has arrived

2 packets transmitted, 2 packets received round-trip min/avg/max = 2/2/2 ms

Supported Platforms: Adit 3104, Adit 3200, Adit 3500, MSR

Adit 3000 (Rel. 1.6) and MSR Card (Rel 2.0) CLI

3-17

Page 75
Image 75
Carrier Access none manual Example Adit 3500# ping 192.168.1.1 -n 2 -l