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
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello Fern-X,
Could you please refer to the document link below and let us know if it is helpful?
Regards,
Shilpa C.P
Created on 08-14-2023 11:14 PM Edited on 08-14-2023 11:15 PM
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.)
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
Created on 08-14-2023 11:52 PM Edited on 08-14-2023 11:54 PM
Again, I am not looking for a permanent config setting nor the solution you hyperlinked to. I am asking "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?"
Are you implying that there definitely none such or that you don't know what it may be?
Hi @Fern-X
Thank you for your reply.
In Fortigate we have only standard and more config options to change the pagination.
Regards
Priyanka
- Have you found a solution? Then give your helper a "Kudos" and mark the solution
Created on 08-15-2023 02:04 AM Edited on 08-15-2023 02:04 AM
Hi Priyanka, thank you. Since you’re “Staff”, perchance you can request developers to implement it? I’ll guesstimate, less than 15 minutes of programming. R's, Fern
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.
Hi! Wow - thanks! Seemingly, Fortinet("Grep doesn't use pagination!") bug can be useful.
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
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1643 | |
1069 | |
751 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.