Fortinet black logo

CLI Reference

debug cli

debug cli

Use this command to set the debug level for the command line interface (CLI).

Before you will be able to see any debug logs, you must first enable debug log output using the command debug.

To use this command, your administrator account’s access control profile requires only r permission in any profile area. For details, see Permissions.

Syntax

diagnose debug cli <cli_int>

Variable Description Default

cli <cli_int>

Specify the verbosity level to output to the CLI display after the command executes.

The valid range is 0–7, where 0 disables debug logs for the CLI and 7 generates the most verbose logging.

If you omit the number, the CLI displays the current verbosity level. For example:

cli debug level is 0

3

Related topics

debug cli

debug cli

Use this command to set the debug level for the command line interface (CLI).

Before you will be able to see any debug logs, you must first enable debug log output using the command debug.

To use this command, your administrator account’s access control profile requires only r permission in any profile area. For details, see Permissions.

Syntax

diagnose debug cli <cli_int>

Variable Description Default

cli <cli_int>

Specify the verbosity level to output to the CLI display after the command executes.

The valid range is 0–7, where 0 disables debug logs for the CLI and 7 generates the most verbose logging.

If you omit the number, the CLI displays the current verbosity level. For example:

cli debug level is 0

3

Related topics