Fortinet white logo
Fortinet white logo

Administration Guide

Using the CLI console

Using the CLI console

The CLI console is a terminal window that enables you to configure the FortiAnalyzer unit using CLI commands directly from the GUI, without making a separate SSH, or local console connection to access the CLI.

When using the CLI console, you are logged in with the same administrator account that you used to access the GUI. You can enter commands by typing them, or you can copy and paste commands into or out of the console.

For more information about using the CLI, see the FortiAnalyzer CLI Reference on the Fortinet Documents Library.

Caution

The CLI Console requires that your web browser support JavaScript.

To open the CLI console in the GUI, click the CLI Console icon (>_) in the banner.

You can perform the following actions from the top of the CLI Console:

Option Description
Clear Console

Clear previous text in the console.

Copy History to Clipboard

Copy all text in the console.

Record CLI Commands

Begin recording the next commands entered in the console; click again to finish recording. The commands and outputs from the recording are copied to the clipboard.

Download History

Download all text in the console as a text file.

Reconnect Console

Reconnect to the console, clearing the previous text in the console and returning to the initial prompt.

Run CLI Script

Drag and drop or select a script file to run in the CLI.

Detach

Open the console in a new tab.

CLI of Current Page (if available)

Go to the commands for the current page of the GUI, if they are available.

Minimize

Minimize the console in the GUI.

Full screen

Expand the console to full screen within the GUI.

Close

Close the console.

Using the CLI console

Using the CLI console

The CLI console is a terminal window that enables you to configure the FortiAnalyzer unit using CLI commands directly from the GUI, without making a separate SSH, or local console connection to access the CLI.

When using the CLI console, you are logged in with the same administrator account that you used to access the GUI. You can enter commands by typing them, or you can copy and paste commands into or out of the console.

For more information about using the CLI, see the FortiAnalyzer CLI Reference on the Fortinet Documents Library.

Caution

The CLI Console requires that your web browser support JavaScript.

To open the CLI console in the GUI, click the CLI Console icon (>_) in the banner.

You can perform the following actions from the top of the CLI Console:

Option Description
Clear Console

Clear previous text in the console.

Copy History to Clipboard

Copy all text in the console.

Record CLI Commands

Begin recording the next commands entered in the console; click again to finish recording. The commands and outputs from the recording are copied to the clipboard.

Download History

Download all text in the console as a text file.

Reconnect Console

Reconnect to the console, clearing the previous text in the console and returning to the initial prompt.

Run CLI Script

Drag and drop or select a script file to run in the CLI.

Detach

Open the console in a new tab.

CLI of Current Page (if available)

Go to the commands for the current page of the GUI, if they are available.

Minimize

Minimize the console in the GUI.

Full screen

Expand the console to full screen within the GUI.

Close

Close the console.