Saturday, March 24, 2007

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:


terminal length 0

terminal length 24 (to set back to default)


set length 0

set length 24 (to set back to default)

Hope this helped. More to come!


At 10/10/2007 05:26:00 AM, Blogger ZooBlogger said...

Nice Tip mate, Zubair

At 2/21/2010 02:51:00 AM, Blogger PARVESH said...

I was just looking for something and got this page ... but it made me more happy than what i was looking for s great .....


At 3/10/2011 11:57:00 PM, Anonymous Sakul Tunboonek said...

For Cisco PIX/ASA

To set no break.
#no pager

To set standard break.
#pager 24


Post a Comment

<< Home