O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

terminal length — command

Synopsis

terminal length number-of-lines

Configures

Window page size

Default

24 lines

Description

This command sets the size of the window for the current user session to number-of-lines. If output from any command exceeds your window size, the router suspends output and prompts you for a keystroke (—More—). This command is useful if you are using a terminal or terminal emulator with a viewing area that is not 24 lines long. Set number-of-lines to 0 to disable the —More— prompt.

Warning: Setting the length to 0, which disables paging, can be useful, but it can present a problem on long output.

Example

To set the window size to 10:

Router#terminal length 10

To disable the —More— prompt:

Router#terminal length 0

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required