Raritan Computer EMX2-111 User Manual

Page of 379
 
Chapter 10: Using the Command Line Interface 
 
 
325
 
 
Testing the Network Connectivity 
This command syntax sends the ICMP ECHO_REQUEST message to a 
network host for checking its network connectivity. If the output shows 
the host is responding properly, the network connectivity is good, or the 
host is shut down or not being connected to the network. 
diag> 
ping <host> 
 
Variables: 
 
<host> is the host name or IP address whose networking 
connectivity you want to check. 
 
Options: 
 
You can include any or all of additional options listed below in the 
ping command. 
Options 
Description 
count <number1> 
Determines the number of messages to be 
sent. <number1> is an integer number. 
size <number2> 
Determines the packet size. <number2> is 
an integer number in bytes. 
timeout <number3> 
Determines the waiting period before 
timeout. <number3> is an integer number in 
seconds. 
 
The command looks like this syntax when it includes all options: 
 
diag> 
ping <host> count <number1> size <number2> timeout <number3> 
 
 
Example 
The following command checks the network connectivity of the host 
192.168.84.222 by sending the ICMP ECHO_REQUEST message to the 
host for 5 times. 
diag> 
ping 192.168.84.222 count 5