Skip to main content
Fern-X
New Member
August 15, 2023
Question

Change pagination option without configuration change

  • August 15, 2023
  • 10 replies
  • 8535 views

Hello. On a Fortigate, is there a (CLI) command to change printout output from 'more' to 'standard' without a configuration change? Perhaps lurking as an option in some diagnose command? R's, Fern

10 replies

Shilpa1
Staff
Staff
August 15, 2023

Hello @Fern-X,

 

Could you please refer to the document link below and let us know if it is helpful?

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-show-the-command-output-without-more/ta-p/193674

 

Regards,
Shilpa C.P

Fern-X
Fern-XAuthor
New Member
August 15, 2023

Thank you - I appreciate every reply... but.. can you reread the question - especially, the italics part? (Perhaps it should have been italics and bold and underlined.)

Contributor III
August 15, 2023

Hi @Fern-X 

 

Thank you for posting your query.

 

In FortiGate to display the "terminal length 0" like output we have the option to change the configuration from more to standard.

 

 

I understand that you are looking for a command in which configuration change is not required, however in Fortigate above setting is a permanent config setting, not a temporary setting for the current session like 'ter len 0'. 


Regards
Priyanka


- Have you found a solution? Then give your helper a "Kudos" and mark the solution

realvitya
New Member
September 19, 2023

Hi! Not a command, but a hack:
Run your command and run it through grep. Example for configuration:
show | grep ""
Grep doesn't use pagination! Just found out because we had the same problem being RO user on the CLI.

Fern-X
Fern-XAuthor
New Member
September 19, 2023

Hi! Wow - thanks! Seemingly, Fortinet("Grep doesn't use pagination!") bug can be useful.

realvitya
New Member
September 20, 2023

Hm, didn't know this is a bug :) BTW, final solution would be something not requiring configuration change. My approach would be a non pagination by default and usage of "more", just like in linux.

Examples:

show | more

show | grep -f interface | more

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.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!