Fortinet white logo
Fortinet white logo

CLI reference

execute tac report

execute tac report

Use this command to generate log information used for debugging by running a list of CLI commands. This command runs a predefined set of CLI commands to collect debug logs.

Syntax

execute tac report

Runs a predefined set of CLI commands to collect debug logs.

Pre-defined CLI commands:

get system status

get system performance

show system interface

show full-configuration system dns

show full-configuration system global

diagnose hardware sysinfo

diagnose hardware sensorinfo

diagnose debug crashlog 7

diagnose debug database error-log

diagnose debug kernel display

diagnose fds list

diagnose kdb

diagnose query ioc

diagnose query wf

diagnose system top 5 25 1

diagnose system top-fd 10

diagnose system db

diagnose system disk-usage system-data

diagnose system disk-usage system-db

diagnose system disk-usage system-temp-data

diagnose debug application sync lines 10000

diagnose debug application tgm lines 10000

diagnose debug application pcapcleanerd lines 10000

diagnose debug application ctrl lines 10000

The TAC report may be too long and overflow the terminal buffer. To resolve this, run the CLI using PuTTY with the following settings:

  1. Open PuTTY, without opening the session.
  2. In the left-hand menu, go to Window and set Lines of scrollback to a larger value (e.g., 100000).
  3. Go to Session > Logging:
    1. Select All session output.
    2. Specify a log file name and path (e.g., C:\Users\...\Downloads\putty-log.txt).
  4. (Optional) To save these settings for future use:
    1. Go to Session > Saved Sessions.
    2. Enter a session name and click Save.
  5. On the Session page:
    1. Enter the Host Name (IP address).
    2. Click Open to start the session.

execute tac report

execute tac report

Use this command to generate log information used for debugging by running a list of CLI commands. This command runs a predefined set of CLI commands to collect debug logs.

Syntax

execute tac report

Runs a predefined set of CLI commands to collect debug logs.

Pre-defined CLI commands:

get system status

get system performance

show system interface

show full-configuration system dns

show full-configuration system global

diagnose hardware sysinfo

diagnose hardware sensorinfo

diagnose debug crashlog 7

diagnose debug database error-log

diagnose debug kernel display

diagnose fds list

diagnose kdb

diagnose query ioc

diagnose query wf

diagnose system top 5 25 1

diagnose system top-fd 10

diagnose system db

diagnose system disk-usage system-data

diagnose system disk-usage system-db

diagnose system disk-usage system-temp-data

diagnose debug application sync lines 10000

diagnose debug application tgm lines 10000

diagnose debug application pcapcleanerd lines 10000

diagnose debug application ctrl lines 10000

The TAC report may be too long and overflow the terminal buffer. To resolve this, run the CLI using PuTTY with the following settings:

  1. Open PuTTY, without opening the session.
  2. In the left-hand menu, go to Window and set Lines of scrollback to a larger value (e.g., 100000).
  3. Go to Session > Logging:
    1. Select All session output.
    2. Specify a log file name and path (e.g., C:\Users\...\Downloads\putty-log.txt).
  4. (Optional) To save these settings for future use:
    1. Go to Session > Saved Sessions.
    2. Enter a session name and click Save.
  5. On the Session page:
    1. Enter the Host Name (IP address).
    2. Click Open to start the session.