
length
Sets the number of lines displayed on the screen.
Syntax: [terminal | no] length num_lines
terminal
Sets the number of lines displayed on the screen for this session only. The setting is not saved in the running-configuration file.
num_lines
The number of lines displayed on the terminal window. Valid values are 1 - 512.
Description: Use the length num-lines command to define the number of lines displayed on your video terminal. Long output will pause after the specified number of lines are displayed. Use the command in Privileged command mode to set the terminal length for this session only. Use the command in Line configuration command mode to set the terminal length for this and future sessions.
In Privileged command mode: use the terminal keyword to configure the displays for only this session. The setting is not saved when the session ends.
Use the terminal length num-lines command to configure the number of lines displayed on the screen for only the current session.
Use the terminal no length command to set the number of lines displayed on your video terminal to the default value of 24 lines for only the current session.
Use the terminal length 0 command to disable screen pause for only the current session.
In Line configuration command mode: omit the keyword. The setting is saved for future sessions.
Use the length num-lines command to configure the number of lines displayed on the screen.
Use the no length command to set the number of lines displayed on your video terminal to the default value of 24 lines.
Use the length 0 command to disable screen pause.
Factory Default: 24 lines.
Command Mode: Line configuration and privileged.
Example 1: In the following example,
- The line vty 0 4 command specifies the VTY lines and changes the command mode to Line configuration.
- The length command configures the console to display the 30 lines per screen.
- The show line displays the setting:
NOTE The setting will be saved for future VTY sessions.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line vty 0 4
router(config-line)#length 30
router(config-line)#end
router#show line
.
.
.
Line vty 3 (*)
Length: 30 lines, Width: 80 columns
History is ENABLED, history size is 10.
Example 2: In the following example:
- The terminal no length command configures the current session to display the default number of lines on the screen:
- .The show terminal command displays the setting:
NOTE The setting is NOT saved for future sessions.
router#terminal no length
router#show terminal
Length: 24 lines, Width: 80 columns
History is ENABLED, history size is 10.
Related Commands: line
show line
show terminal
width
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: navigation.fm
HTML File Name: navigation13.html
Last Updated: 02/25/05 at 14:25:22