FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
TAlKhatib
Staff
Staff
Article Id 194245

Description

 
This article describes that the CLI console in the FortiGate Web-Based Manager (GUI) is limited to 50 lines by default. 
In older FortiOS versions this can be increased to a maximum of 9999 lines.
Newer FortiOS GUI has a preset limit of max ~100.000 lines (non-configurable).


Scope

 

FortiOS.

Solution

 

  1. Edit the CLI console settings by selecting the edit icon at the top right corner of the console.

TAlKhatib_FD32201_Edit.JPG
 
  1. Increase the buffer length to the required value (additional customization is available).
    These options are not available anymore in the newer (supported) versions:
     
    TAlKhatib_FD32201_Buffer.JPG
     

     

From FortiOS 5.4 onwards there are no options that can be configured concerning the CLI applet (neither on the CLI itself nor within the FortiGate config).

 

Evolution of CLI layout throughout different FortiOS versions:

 

FortiOS 5.6.

CLI buffer3.png

 

FortiOS 6.0.

CLI buffer2.png

 

FortiOS 6.2.

CLI buffer.png

 

FortiOS 6.4.

CLI buffer64.png

 

FortiOS 7.0.

CLI buffer70.png

 

FortiOS 7.2.

CLI buffer72.png

 

FortiOS 7.4.

CLI buffer74.png

 

FortiOS 7.6.

CLI buffer76.png