42
Related commands
screen-length disable
send
Use
send
to send messages to user interfaces.
Syntax
send
{
all
|
num1
| {
aux
|
vty
}
num2
}
Views
User view
Default command level
1: Monitor level
Parameters
all
: Specifies all user interfaces.
num1
: Specifies the absolute number of a user interface, in the range of 0 to 44.
aux
: Specifies an AUX user interface.
vty
: Specifies a VTY user interface.
num2
: Specifies the relative number of a user interface, in the range of 0 to 9 for an AUX user interface
and 0 to 15 for a VTY user interface.
Usage guidelines
After you issue the command, enter the message to be sent at the prompt. 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 AUX user interface 0.
<Sysname> send aux 0
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
hello abc^Z
Send message? [Y/N]:y
<Sysname>
***
***
***Message from aux0 to aux0
***
hello abc
<Sysname>
# Before you restart the device, follow these steps to inform users accessing the device through other user
interfaces:
1.
Display information about all users.