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.
dnikas1
Staff
Staff
Article Id 190475

Description


This article describes how to set the CLI output to standard (no pause), or more (pause once the screen is full, resume on keypress).

This setting applies to show or get commands only.

 

Scope

 

FortiGate.

Solution


Through the FortiGate's CLI, the default behavior to display the commands’ output is set to "more" and is exhibited below:

 

# show
config system global
    set admin-https-redirect disable
    set admintimeout 480
    set alias "FortiGate-300E"
    set hostname "FG3H0E-1"
    set lldp-transmission enable
    set szitch-controller enable
    set timezone 28
end
config system accprofile
    edit "prof_admin"
        set secfabgrp read-write
        set ftviewgrp read-write
        set authgrp read-write
        set sysgrp
read-write
        set netgrp
read-write
        set loggrp
read-write
        set fwgrp
read-write
        set vpngrp
read-write
        set utmgrp
read-write
        set wifi
read-write
    next

--More--

 

Output resumes on Keypress. By default, output paging is enabled, however, to view the whole command output, such as when saving console output to a log file, this gets in the way since it repeatedly displays the message --More-- in each output window. 

To remove the pause between output data, use these CLI commands:
 
config system console
    set output standard
end
 
To bring paging back:
 
config system console
    set output more
end
 
Note;
This is useful for saving the configuration through SSH without having breaks between outputs.