R3204P16-HP Load Balancing Module System Management Command Reference-6PW101

24
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.
<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
***
hello abc
<Sysname>
# Assume you are using VTY 0. Before you restart the device, to inform users that are accessing the
device through other user interfaces, perform the following steps.
Display information about all users
<Sysname> display users
The user application information of the user interface(s):
Idx UI Delay Type Userlevel
+ 0 CON 0 00:00:00 3
+ : Current operation user.
F : Current operation user work in async mode.
// The output shows that a user is using VTY 0.
<Sysname> send vty 1
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
Note please, I will reboot the system in 3 minutes!^Z
Send message? [Y/N]:y
// A message is sent to VTY 1, telling that the system will reboot in 3 minutes.
If a user is trying to log in through VTY 1, the message appears. (VTY 1 receives the message from
VTY 0 when the interface GigabitEthernet command is input.)
[Sysname] interface GigabitEthernet
***
***
***Message from vty0 to vty1
***
Note please, I will reboot the system in 3 minutes!