Skip to main content
dbabic
Staff
Staff
August 16, 2019

Technical Tip: How to show more command output without pressing space to view more (terminal length 0)

  • August 16, 2019
  • 0 replies
  • 59329 views

Description


This article describes how to either change the length of command output provided by the console or show more output from the same command.

 

Scope

 

FortiGate.

Solution


FortiGate can change the length of the command output appearing between 23 lines and the full output of the command.
With the default settings, only 23 lines are shown before it is necessary to press the space bar to show more configuration. In some cases, this may be necessary to show the full output.

Perform the following commands:

 

config system console

    set output standard

end


To change it back to the default:

 

config system console

    set output more

end

 

The above can be useful when it is necessary to print all configuration information. For example: 

 

show full-configuration

 

Upon using this command with 'set output standard' selected, the device will be able to print all device configurations in a single run of the command. Note that it may take a couple of minutes to collect the information.

Note:  
This is a configuration change, so, if a user applies it without bringing it back, other users who access the CLI will view the whole command output when they type any query.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.