Cisco Tip of the Day: Terminal Length
Let's take a look at terminal length. By default, it is 24 lines on routers and switches. This is fine in most cases. However, if you have a router or switch with a huge configuration and you want to log this to a file, you may not want to have to press the space bar every 24 lines - for the rest of your life! (or so it seems!)
The solution is to change the terminal length to 0. When you are finished, you can always change it back to the default 24. Or, you can just logout of the router or switch and the next time you login the terminal length will be the default of 24. Here is what you need to do on a router and a switch:
Router
terminal length 0
terminal length 24 (to set back to default)
Switch
set length 0
set length 24 (to set back to default)
Hope this helped. More to come!
The solution is to change the terminal length to 0. When you are finished, you can always change it back to the default 24. Or, you can just logout of the router or switch and the next time you login the terminal length will be the default of 24. Here is what you need to do on a router and a switch:
Router
terminal length 0
terminal length 24 (to set back to default)
Switch
set length 0
set length 24 (to set back to default)
Hope this helped. More to come!
3 Comments:
Nice Tip mate, Zubair
I was just looking for something and got this page ... but it made me more happy than what i was looking for ......it s great .....
-Parvesh
For Cisco PIX/ASA
To set no break.
#no pager
To set standard break.
#pager 24
Post a Comment
<< Home