02-04-2016 12:59 PM - edited 03-08-2019 04:28 AM
Hello, everytime that I open Putty or Secure SSH client to remote into a switch, I have a problem of having to keep pressing the space-bar to see the rest of the "sh run" output. Is there a way that I can avoid this, so when i type "sh run" - It shows everything all at once and scrolls all the way to the bottom and I don't have to keep pressing space...
Thank you
Solved! Go to Solution.
02-04-2016 01:03 PM
Hello,
Yes, you can enter the terminal length 0 command in the EXEC command line (not the configuration mode). This will, for the duration of your terminal session, set the "height" of the screen to be infinity. As a result, the router or a switch will not paginate the output, and will simply let the output flow until its very finish.
Reverting back would be accomplished by entering the terminal length 24 command, or simply logging out.
Best regards,
Peter
02-04-2016 01:05 PM
switch# term len 0
will display the entire thing.
You can use any value you want eg.
switch# term len <x>
Jon
02-04-2016 01:03 PM
Hello,
Yes, you can enter the terminal length 0 command in the EXEC command line (not the configuration mode). This will, for the duration of your terminal session, set the "height" of the screen to be infinity. As a result, the router or a switch will not paginate the output, and will simply let the output flow until its very finish.
Reverting back would be accomplished by entering the terminal length 24 command, or simply logging out.
Best regards,
Peter
02-04-2016 01:05 PM
switch# term len 0
will display the entire thing.
You can use any value you want eg.
switch# term len <x>
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide