Here you can find all important FortiGate CLI commands for the operation and troubleshooting of FortiGates with FortiOS 7.4.
System
General System Commands
|
|
get system status | General system information |
exec tac report | Generates report for support |
config, get, show, tree set, unset, append, unselec | Configuration commands |
<command> ? or tab | Use ? or tab in CLI for help |
<command> | grep [-f] | Grep command to filter outputs |
diag debug cli 7 | Shows webGUI changes in CLI |
|
|
Process Information
|
|
get system performance status | General performance infos |
diag sys top [sec] [number] Control + C to stop command | Process list Sort with P (CPU) / M (Memory) |
diag debug crashlog read | Crash log |
Network
Network Interface Information
|
|
diag ip address list | List of IPs on FGT interfaces |
diag firewall iplist list | List of IPs on VIP |
diag firewall ippool list | List of IP on pools |
diag netlink interface list | List IF with MTU & device ID |
Network Troubleshooting
|
|
get hardware nic <interface> | Interface Information |
diag ip arp list / get system arp | ARP table |
exec clear system arp table | Clears ARP table |
exec ping x.x.x.x exec ping-options <option> | Ping utility |
exec traceroute x.x.x.x exec traceroute-options <option> | Traceroute utility |
exec telnet x.x.x.x <port> exec telnet-options <option> | Telnet utility |
Integrated Iperf Utility
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
diag traffictest server-intf Iperf test directly run from FortiGate diag traffictest client-intf diag traffictest port [port] diag traffictest run -c [public_iperf_server_ip]
High Availability
|
|
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Also, it is always better to refer to docs.fortinet.com for OS-specific commands
https://docs.fortinet.com/document/fortigate/7.4.0/cli-troubleshooting-cheat-sheet/420966/cli-troubl...
Also, it is always better to refer to docs.fortinet.com for OS-specific commands
https://docs.fortinet.com/document/fortigate/7.4.0/cli-troubleshooting-cheat-sheet/420966/cli-troubl...
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1662 | |
1077 | |
752 | |
446 | |
220 |
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.