Screen-Length - HP A8800 Series Fundamentals Command Reference

Hide thumbs Also See for A8800 Series:
Table of Contents

Advertisement

CAUTION:
Before configuring a user interface to support SSH, set the authentication mode to scheme for users
logging in through the user interface; otherwise, the protocol inbound ssh command fails. For more
information, see authentication-mode.
By default, the authentication mode of the Telnet protocol is password.
Examples
# Enable the VTYs 0 through 4 to support SSH only.
<Sysname> system-view
[Sysname] user-interface vty 0 4
[Sysname-ui-vty0-4] authentication-mode scheme
[Sysname-ui-vty0-4] protocol inbound ssh

screen-length

Syntax
screen-length screen-length
undo screen-length
View
User interface view
Default level
2: System level
Parameters
screen-length: Maximum number of lines on a screen, in the range of 0 to 512. Setting it to 0 disables
pausing between screens of output.
Description
Use screen-length to set the maximum number of lines on a screen.
Use undo screen-length to restore the default.
By default, a screen displays 24 lines at most.
When screen output pauses, press the blank space key to display the next screen. Not all display
terminals support this setting. For example, assume that you set screen-length to 40, but the terminal
screen can display 24 lines at most. When you press the blank space key, the router sends 40 lines to the
terminal display, but the screen displays only lines 18 through 40. To view the first 17 lines, you must
press Page Up or Page Down.
To disable pausing between screens of output for the current session, set the maximum number of lines to
0 or execute the screen-length disable command.
Related commands: screen-length disable.
Examples
# Set the screen length of the user interface of console port 0 to 30 lines.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] screen-length 30
36

Advertisement

Table of Contents
loading

Table of Contents