execute ping-option/ping6-option
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.
|
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. | |
Time-to-live (TTL) value. The default is 64.
| |
Whether or not to validate ping replies.
| |
Display the current ping option settings.
|
Example
FortiADC-VM # execute ping-option view-settingsPing Options:Repeat Count: 5Data Size: 56Timeout: 2Interval: 1TTL: 64TOS: 0DF bit: unsetSource Address: autoPattern:Pattern Size in Bytes: 0Validate Reply: noFortiADC-VM # execute ping-option ?data-size ping option settingsdf-bit set DF bit in IP header <yes | no>pattern hex format of pattern, e.g. 00ffaabbrepeat-count integer value to specify how many times to repeat pingsource auto | <source interface ip>timeout integer value to specify timeout in secondstos IP type-of-service optionttl integer value to specify time-to-livevalidate-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-settingsPing Options:
Repeat Count: 3
Data Size: 56Timeout: 2Interval: 1TTL: 64TOS: 0DF bit: unsetSource Address: autoPattern:Pattern Size in Bytes: 0Validate Reply: no========================= execute ping-option repeat-count 25
execute ping 8.8.8.8
No comments:
Post a Comment