cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8873
Views
5
Helpful
2
Replies

scrolling through switch output

afsharki2
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

Peter Paluch
Cisco Employee
Cisco Employee

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

View solution in original post

Jon Marshall
Hall of Fame
Hall of Fame

switch# term len 0

will display the entire thing.

You can use any value you want eg.

switch# term len <x>

Jon

View solution in original post

2 Replies 2

Peter Paluch
Cisco Employee
Cisco Employee

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

Jon Marshall
Hall of Fame
Hall of Fame

switch# term len 0

will display the entire thing.

You can use any value you want eg.

switch# term len <x>

Jon