Use the CLI ping command to verify that a host can be reached over the network. This command is useful for diagnosing host and network connectivity problems. The Services Router sends a series of ICMP echo (ping) requests to a specified host and receives ICMP echo responses.
Alternatively, you can use the J-Web interface. (See Using the J-Web Ping Host Tool.)
Enter the ping command with the following syntax. Table 104 describes the ping command options.
user@host> ping host <interface source-interface> <bypass-routing> <count number>
<do-not-fragment> <inet | inet6>
<interval seconds>
<logical-router logical-router-name>
<loose-source [hosts]>
<no-resolve> <pattern string>
<rapid> <record-route>
<routing-instance routing-instance-name>
<size bytes> <source source-address> <strict> <strict-source [hosts]>
<tos number> <ttl number>
<wait seconds> <detail>
<verbose>
To quit the ping command, press Ctrl-C.
Table 104: CLI ping Command Options
Following is sample output from a ping command:
user@host> ping host3 count 4
PING host3.site.net (176.26.232.111): 56 data bytes 64 bytes from 176.26.232.111: icmp_seq=0 ttl=122 time=0.661 ms 64 bytes from 176.26.232.111: icmp_seq=1 ttl=122 time=0.619 ms 64 bytes from 176.26.232.111: icmp_seq=2 ttl=122 time=0.621 ms 64 bytes from 176.26.232.111: icmp_seq=3 ttl=122 time=0.634 ms --- host3.site.net ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.619/0.634/0.661/0.017 ms
The fields in the display are the same as those displayed by the J-Web ping host diagnostic tool. For information, see Ping Host Results and Output Summary.