Fortinet black logo

Administration Guide

CLI Console

Copy Link
Copy Doc ID 82d3214f-998a-11eb-b70b-00505692583a:127599
Download PDF

CLI Console

You can log into the CLI Console in a window in the GUI. You can issue commands in the CLI Console just like the FortiSandbox CLI.

To connect to the CLI Console:
  1. In the banner, click the CLI Console button >__ at the top right.

    The CLI Console pane opens.

  2. Click Connect to connect to the console.

    The console prompts you for your login information.

    You can issue commands in the CLI Console just like the FortiSandbox CLI. For more information on FortiSandbox CLI commands, see the FortiSandbox CLI Reference Guide in the Fortinet Document Library.

  3. To disconnect, click Disconnect or use Ctrl+C.

The CLI Console has the following buttons:

Connect / Disconnect

Toggles the connection to the console.

Clears the console.

Downloads the contents of the console to a text file cliConsole.txt on your local PC. Maximum is 1000 lines.

Copies the contents of the console to the clipboard. Maximum is 1000 lines.

Expands and detaches the console from the GUI and opens it in a new browser tab or window.

Closes the CLI Console.

The CLI Console can only connect to a local FortiSandbox.

In HA-Cluster, you cannot use the primary node to open a worker node's CLI Console.

CLI Console

You can log into the CLI Console in a window in the GUI. You can issue commands in the CLI Console just like the FortiSandbox CLI.

To connect to the CLI Console:
  1. In the banner, click the CLI Console button >__ at the top right.

    The CLI Console pane opens.

  2. Click Connect to connect to the console.

    The console prompts you for your login information.

    You can issue commands in the CLI Console just like the FortiSandbox CLI. For more information on FortiSandbox CLI commands, see the FortiSandbox CLI Reference Guide in the Fortinet Document Library.

  3. To disconnect, click Disconnect or use Ctrl+C.

The CLI Console has the following buttons:

Connect / Disconnect

Toggles the connection to the console.

Clears the console.

Downloads the contents of the console to a text file cliConsole.txt on your local PC. Maximum is 1000 lines.

Copies the contents of the console to the clipboard. Maximum is 1000 lines.

Expands and detaches the console from the GUI and opens it in a new browser tab or window.

Closes the CLI Console.

The CLI Console can only connect to a local FortiSandbox.

In HA-Cluster, you cannot use the primary node to open a worker node's CLI Console.