R3166-R3206-HP High-End Firewalls Getting Started Command Reference-6PW101
24
View
User interface view
Default level
2: System level
Parameters
screen-length: Number of lines to be displayed on a screen, which ranges from 0 to 512. The value of 0
disables pausing between screens of output.
Description
Use the screen-length command to set the number of lines to be displayed on a screen.
Use the undo screen-length command to restore the default.
By default, a screen displays 24 lines.
When screen output pauses, press the Space key to display the next screen. Not all terminals support this
command setting. For example, assume that you set screen-length to 40, but the terminal can display 24
lines in one screen at most. When you press Space, the device sends 40 lines to the terminal, but the next
screen displays only lines 18 through 40. To view the first 17 lines, you must press the page up or page
down key.
To disable multiple-screen output of the current user interface, use the screen-length disable command.
Examples
# Set the next screen of the user interface of console port 0 to display 30 lines.
<Sysname> system-view
[Sysname] user-interface console 0
[Sysname-ui-console0] screen-length 30
send
Syntax
send { all | num1 | { aux | console |vty } num2 }
View
User view
Default level
1: Monitor level
Parameters
all: Sends messages to all user interfaces.
num1: Absolute number of a user interface and typically starts from 0.
num2: Relative number of a user interface.
Description
Use the send command to send messages to the specified user interfaces.
To end message input, press Ctrl+Z. To cancel message input and return to user view, press Ctrl+C.
Examples
# Send message hello abc to the user interface of console port 0.