92
Set the number of lines displayed on the next screen of console user interface to 30.
<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, typically starting from 0
num1
: Absolute number of a user interface.
num2
: Relative number of a user interface, in the following rules:
For the AUX port, the value is 0.
For the console port, the value is 0.
For VTY user interfaces, the value ranges from 0 to 4.
Description
Use the
send
command to send messages to the specified user interface(s).
Press
Ctrl
+
Z
to end message input and press
Ctrl
+
C
to remove this operation when
inputting messages.
Examples
Send the message
hello abc
to the console user interface.
<Sysname> send console 0
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
hello abc^Z
Send message? [Y/N]:y
<Sysname>
***
***
***Message from con0 to con0
***