ProxySG & Advanced Secure Gateway

 View Only
  • 1.  Disable paging while showing output of commands

    Posted Sep 05, 2017 06:54 AM

    Hi,

    I want to disable showing the long command output saperated in pages. For example, the commands >show policy shows output that is devided over multiple pages which requires me to send a space click to display each page. How to disable this so that the output is fully shown?

     

    Regards,



  • 2.  RE: Disable paging while showing output of commands

    Posted Sep 06, 2017 04:00 AM

    Hi,

    unfortunately I don't know a way to do that for displaying just the policy.

    However for the command # show configuration which includes all policy files there is an option called "noprompts" which surpresses the --More-- prompts, e.g.

    # show config noprompts

    (useful for taking complete backups manually)

    I assume you want to use this in some script. Maybe you could show the complete config instead of just the policy and extract the parts you need by using the script.

    Kind Regards,

    Gunnar



  • 3.  RE: Disable paging while showing output of commands

    Posted Sep 08, 2017 06:25 AM

    Hi Asgh,

     

                If you want to change the "paging" to get the long output, you can edit the "live-vty" length to "0". This will disable the "paging" or "pausing" between x line of output for the session. Command to disable is below

     

    config t

    line-vty

    length 0

     

    Now you can execute the command which will be active for the session.

    Note that this will get reset to the terminal window size when you re-size it (re-size putty terminal)