Fortinet black logo

Administration Guide

CLI

Copy Link
Copy Doc ID 4f5a6250-a945-11ec-9fd1-fa163e15d75b:127599
Download PDF

CLI

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.

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

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.

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.