106
Syntax
ping { ip_addr } [ -n count ] [ -l count ] [ -i count ]
Parameter
ip_addr —— The IP address of the destination node for ping test.
-n count —— The amount of times to send test data during Ping testing. It
ranges from 1 to 10. By default, this value is 4.
-l count —— The size of the sending data during ping testing. It ranges from 1
to 1024 bytes. By default, this value is 64.
-i count —— The interval to send ICMP request packets. It ranges from 100 to
1000 milliseconds. By default, this value is 1000.
Command Mode
User EXEC Mode and Privileged EXEC Mode
Example
To test the connectivity between the switch and the network device with the IP
192.168.0.131, please specify the count (-l) as 512 bytes and count (-i) as 1000
milliseconds. If there is not any response after 8 times’ Ping test, the connection
between the switch and the network device is failed to establish:
TL-SG3424# ping 192.168.0.131 –n 8 –l 512
tracert
Description
The tracert command is used to test the connectivity of the gateways during its
journey from the source to destination of the test data.
Syntax
tracert url [ maxHops ]
Parameter
url —— The IP address of the destination device.
maxHops —— The maximum number of the route hops the test data can pass
though. It ranges from 1 to 30. By default, this value is 4.
Command Mode
User EXEC Mode and Privileged EXEC Mode