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

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.