The execute tac report command can be used to collect diagnostic information about a FortiGate issue
The FortiOS integrates a script that executes a series of diagnostic commands that take a snapshot of the current state of the device. The output can be saved to a log file and reviewed when troubleshooting.
It is important to run this command when the issue is present.
The TAC report will collect useful information such as:Solution
- Serial number
- Firmware version
- FortiGuard updates state
- Memory and CPU usage
- Global configuration
- Hardware features
- Interface errors
- Traffic statistics
- HA diagnostics
- Process crash log
There are two steps to obtaining the debug logs and TAC report.
1) From the GUI interface
Go to System -> Advanced -> Debug Logs and select 'Download Debug Logs'.
Save the file.
2) From the CLI management interface via SSH or console connection
Connect to the FortiGate (see related article).
On the command line run the following command and let the script to run until complete. This will take a few seconds.
Close the SSH session.
From version 6.2.
Go to System -> Settings -> Debug Logs and select the 'Download' button.
Technical Note: How to create a log file of a session using PuTTY