FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Pedro_FTNT
Staff
Staff
Article Id 337921
Description This article describes how to use and understand 'ping-options interval' works.
Scope FortiGate.
Solution

In some situations, it is necessary to send PING tests with a time interval between each ICMP packet sent. To do it, FortiGate has a 'ping-options interval' option.

 

  • Example using FortiGate CLI:

 

execute ping-options interval 10 <----- Time in seconds between each ping.
execute ping-options repeat-count 10 <----- Specify how many times to repeat the ping attempt, optional.
execute ping 8.8.8.8<----- To internet test IP.


execute ping-options interval 10
execute ping-options repeat-count 10

execute ping 8.8.8.8


PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=117 time=4.8 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=117 time=4.8 ms

--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 4.8/4.8/4.8 ms

Interval, ICMP each 10 seconds:

 

  • ICMP time using sniffer in CLI, 10 seconds between each ICMP request.

 

Image2.png

 

  • ICMP  time using Wireshark capture, 10 seconds between each ICMP request.

 

Image3.png

 

Related article: 

Troubleshooting Tip: Using PING options from the FortiGate CLI

Contributors