Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
79
5-17 terminal length
The command is used to configure the number of lines displayed on the screen. The terminal length
command will only affect the current session. The default terminal length command will set the default
value but it doesn’t affect the current session. The newly created, saved session terminal length will use
the default value. Use no form of this command to revert back to the default settings.
terminal length NUMBER
no terminal length
terminal length default NUMBER
no terminal length default
Parameters
NUMBER
Specifies the number of lines to display on the screen. This value must
be between 0 and 512.When the terminal length is 0, the display will
not stop until it reaches the end of the display.
Default
By default, this value is 24.
Command Mode
Use the EXEC Mode or Privilege EXEC Mode for the terminal length command.
Use the Global Configuration Mode for the terminal length default command.
Command Default Level
Level: 1 (for the terminal length command).
Level: 12 (for the terminal length default command).
Usage Guideline
When the terminal length is 0, the display will not stop until it reaches the end of the display.
If the terminal length is specified to a value other than 0, for example 50, then the display will stop after
every 50 lines. The terminal length is used to set the number of lines displayed on the current terminal
screen. This command also applies to Telnet and SSH sessions. Valid entries are from 0 to 512. The
default is 24 lines. A selection of 0's instructs the Switch to scroll continuously (no pausing).
Output from a single command that overflows a single display screen is followed by the --More-- prompt.
At the --More-- prompt, press CTRL+C, q, Q, or ESC to interrupt the output and return to the prompt.
Press the Spacebar to display an additional screen of output, or press Return to display one more line of
output. Setting the screen length to 0 turns off the scrolling feature and causes the entire output to display
at once. Unless the default keyword is used, a change to the terminal length value applies only to the
current session. When using the no form of this command, the number of lines in the terminal display
screen is reset to 24.
The terminal length default command is available in the global configuration mode. The command
setting does not affect the current existing terminal sessions but affects the new terminal sessions that
are activated later. Only the default terminal length value can be saved.
Example
This example shows how to change the lines to be displayed on a screen to 60.
Switch# terminal length 60
Switch#