Fortinet 5003 Switch User Manual


 
FortiSwitch-5003A CLI reference execute
FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide
01-30000-85717-20081205 109
ping
Send an ICMP echo request (ping) to test the network connection between the FortiSwitch-5003A
mgmt interface and another network device. You must add a DNS server to the FortiSwitch-5003A
configuration to ping a hostname.
Syntax
execute ping {<address_ipv4> | <host-name_str>}
<host-name_str> should be a fully qualified domain name, for example: www.fortinet.com.
Example
This example shows how to ping a host with the IP address 172.20.120.11.
execute ping 172.20.120.11
PING 172.20.120.11 (172.20.120.11): 56 data bytes
64 bytes from 172.20.120.11: seq=0 ttl=128 time=0.454 ms
64 bytes from 172.20.120.11: seq=1 ttl=128 time=0.399 ms
64 bytes from 172.20.120.11: seq=2 ttl=128 time=0.402 ms
64 bytes from 172.20.120.11: seq=3 ttl=128 time=0.431 ms
--- 172.20.120.11 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.399/0.421/0.454 ms
Related topics
execute traceroute