Syntax
ping [ ip | ipv6 ] { ip_addr } [ -n count ] [ -l count ] [ -i count ]
Parameter
ip —— The type of the IP address for ping test should be IPv4.
ipv6 —— The type of the IP address for ping test should be IPv6.
ip_addr —— The IP address of the destination node for ping test. If the
parameter ip/ipv6 is not selected, both IPv4 and IPv6 addresses are supported,
for example 192.168.0.100 or fe80::1234.
-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-SG2424# ping 192.168.0.131 –n 8 –l 512
To test the connectivity between the switch and the network device with the IP
fe80::1234, 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-SG2424# ping fe80::1234 –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 [ ip | ipv6 ] ip_addr [ maxHops ]
78