Skip to Main Content
Cisco IOS in a Nutshell, 2nd Edition
book

Cisco IOS in a Nutshell, 2nd Edition

by James Boney
August 2005
Intermediate to advanced content levelIntermediate to advanced
798 pages
31h 12m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS in a Nutshell, 2nd Edition

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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

CISCO IOS in a Nutshell

CISCO IOS in a Nutshell

James Boney
Cisco IOS Cookbook, 2nd Edition

Cisco IOS Cookbook, 2nd Edition

Kevin Dooley, Ian Brown
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596008694Errata