execute : execute ping-option/ping6-option
 
execute ping-option/ping6-option
Use these commands to configure the behavior of the execute ping/ping6 command.
Syntax
execute ping-option data-size <bytes_int>
execute ping-option df-bit {yes | no}
execute ping-option pattern <bufferpattern_hex>
execute ping-option repeat-count <repeat_int>
execute ping-option source {auto | <interface_ipv4>}
execute ping-option timeout <seconds_int>
execute ping-option tos {<service_type>}
execute ping-option ttl <hops_int>
execute ping-option validate-reply {yes | no}
execute ping-option view-settings
data-size
Datagram size in bytes.The default is 56.
This option enables you to send out packets of different sizes for testing the effect of packet size on the connection. If you want to configure the pattern that will be used to buffer small datagrams to reach this size, also configure pattern <bufferpattern_hex>.
df-bit
Enter either yes to set the DF bit in the IP header to prevent the ICMP packet from being fragmented, or enter no to allow the ICMP packet to be fragmented.
pattern
Hexadecimal pattern, such as 00ffaabb, to fill the optional data buffer at the end of the ICMP packet. The size of the buffer is determined by data-size <bytes_int>.
repeat-count
Number of times to repeat the ping. The default is 5.
source
Network interface from which the ping is sent. Enter either auto or a FortiADC network interface IP address. The default is auto.
timeout
Response timeout in seconds. The default is 2.
tos
Type-of-service option value, either:
default — Do not indicate. (That is, set the TOS byte to 0.)
lowcost — Minimize cost.
lowdelay — Minimize delay.
reliability — Maximize reliability.
throughput — Maximize throughput.
ttl
Time-to-live (TTL) value. The default is 64.
validate-reply
Whether or not to validate ping replies.
view-settings
Display the current ping option settings.
Example
FortiADC-VM # execute ping-option view-settings
Ping Options:
Repeat Count: 5
Data Size: 56
Timeout: 2
Interval: 1
TTL: 64
TOS: 0
DF bit: unset
Source Address: auto
Pattern:
Pattern Size in Bytes: 0
Validate Reply: no
 
FortiADC-VM # execute ping-option ?
data-size ping option settings
df-bit set DF bit in IP header <yes | no>
pattern hex format of pattern, e.g. 00ffaabb
repeat-count integer value to specify how many times to repeat ping
source auto | <source interface ip>
timeout integer value to specify timeout in seconds
tos IP type-of-service option
ttl integer value to specify time-to-live
validate-reply validate reply data <yes | no>
view-settings view the current settings for ping option
 
FortiADC-VM # execute ping-option repeat-count 3
 
FortiADC-VM # execute ping-option view-settings
Ping Options:
Repeat Count: 3
Data Size: 56
Timeout: 2
Interval: 1
TTL: 64
TOS: 0
DF bit: unset
Source Address: auto
Pattern:
Pattern Size in Bytes: 0
Validate Reply: no