5 Network Communication
Detection Tools
5.1 Ping Connectivity Test
For the connectivity test of networks, many network devices support the Echo protocol. The
protocol involves sending a special packet to a specified network address and waiting for the
packet returned from the address. By the echo protocol, we can evaluate the connectivity,
delay and reliability of networks. The ping tool provided by DGS-3610 series can effectively
help users diagnose and locate the connectivity problems in networks.
The Ping command runs in the user EXEC mode and privileged EXEC mode. In the user
EXEC mode, only basic ping function can be run, which in the privileged EXEC mode, the
enlarged function of ping also can be run.
The ordinary Ping function can be performed in either normal user mode or privilege user
mode. By default, this command sends five 100-byte packets to the specified IP address.
Within the specified time (2 seconds by default), if there is a response, the "!" symbol is
shown; if there is no response, the "." symbol is shown. Finally, a statistics message is
output. This is a normal ping example:
DGS-3610# ping 192.168.5.1
Sending 5, 100-byte ICMP Echoes to 192.168.5.1, timeout is 2 seconds:
< press Ctrl+C to break >
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/10 ms
The extended Ping function can be performed in the privilege user mode only. With the
extended Ping, you can specify the number, length of packets to be sent, and the timeout.
Just like the ordinary Ping function, the extended Ping also output a statistics message. The
following shows an example of the extended Ping:
DGS-3610# ping 192.168.5.197 length 1500 ntimes 100 timeout 3
Sending 100, 1000-byte ICMP Echoes to 192.168.5.197, timeout is 3 seconds:
< press Ctrl+C to break >