Created on 05-06-2009 01:13 AM Edited on 11-01-2023 02:43 AM By Stephen_G
Description
This article describes the FortiGate ping options that can be used for various troubleshooting purposes. Two particularly useful options are repeat-count and source.
Scope
FortiGate.
Solution
From the CLI, type the following command to see all options:
execute ping-options ?
execute ping-options adaptive-ping <enable|disable>
execute ping-options data-size <bytes>
execute ping-options df-bit {yes | no}
execute ping-options pattern <2-byte_hex>
execute ping-options interface <auto | interface_name>
execute ping-options interval <seconds>
execute ping-options repeat-count <repeats>
execute ping-options source {auto | <source-intf_ip>}
execute ping-options timeout <seconds>
execute ping-options tos <service_type>
execute ping-options ttl <hops>
execute ping-options validate-reply {yes | no}
execute ping-options view-settings
execute ping-options use-sdwan <yes | no>
execute ping-options reset
Keyword Description Default
If auto is specified, the FortiGate selects the source address and interface based on the route to the <host-name_str> or <host_ip>.
Specifying the IP address of a FortiGate interface is used to test connections to different network segments from the specified interface.
Note: Ping can also be used for name resolution. To test name resolution, ping with the domain name as the destination. The following command output confirms the name resolution was successful:
exec ping google.com
PING google.com (142.250.179.78): 56 data bytes
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.