Using the ping command, Using the ping command -22 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 744

Advertising
background image

Using the PING Command

Page 25-22

Using the PING Command

The

ping

command is used to test the reachability of IP network destinations. A fast ping

command (

fping

) is also available for repeating the last ping request sent from the switch. The

commands sends an

ICMP

echo request to a destination and then waits for a reply.

Follow the steps below to issue an IP ping request.

1. Enter

ping.

A screen similar to the following displays:

Host () :

Enter the IP address of the host that you want to “ping.”

2. The following prompt displays:

Count (0 for infinite) (0) :

Enter the number of frames to be transmitted (0 equals “infinite”). To abort an “infinite”
transmission once it is in progress, just press

Enter

again.

3. The following prompt displays:

Size (64) :

Enter the desired size of the data portion of the packet. You can specify a packet size or a
range of packet sizes up to 8148. If you give a range, the switch will increment the packet
size by 1 each time up to the top of the range. It will then wrap and continue from the
bottom size of the range again until the total number of frames specified in the count has
been sent. You can also set the increment by which the packet size is increased each time
by entering a comma and an increment number after the size. For example, an entry of

1-100,5

will send out the number of frames specified in the “Count” prompt, starting with a frame
size of 1 and incrementing up to a frame size of 100 in steps of 5. Note that if the “Count”
is too small, the 100-byte frame size may never be reached. If the count is large enough,
the packet size will wrap and go back to 1.

4. The following prompt displays:

Timeout (1) :

Enter the number of seconds the program is to wait for a response before timing out.

Advertising