43
<Sysname> display users
The user application information of the user interface(s):
Idx UI Delay Type Userlevel
29 VTY 0 06:07:50 TEL 3
+ 30 VTY 1 00:00:00 TEL 3
31 VTY 2 00:54:02 TEL 3
32 VTY 3 06:00:24 TEL 3
Following are more details.
VTY 0 :
Location: 192.168.0.5
VTY 1 :
Location: 192.168.0.202
VTY 2 :
Location: 192.168.0.5
VTY 3 :
Location: 192.168.0.108
+ : Current operation user.
F : Current operation user work in async mode.
// The output shows that you are using VTY 0 and another user is using VTY 1.
2.
Send a notification to the user of VTY 1.
<Sysname> send vty 1
Enter message, end with CTRL+Z or Enter; abort with CTRL+C:
Your attention please. I will reboot the system in 3 minutes!^Z
Send message? [Y/N]:y
// The message is sent to VTY 1 and displayed on VTY 1. (Suppose the user of VTY 1 is entering
the
interface gigabitethernet
command.)
[Sysname] interface gigabitethernet
***
***
***Message from vty0 to vty1
***
Your attention please. I will reboot the system in 3 minutes!
set authentication password
Use
set authentication password
to set a password.
Use
undo set authentication password
to remove the password.
Syntax
set authentication password
[
hash
]
{
cipher
|
simple
}
password
undo set authentication password
Default
No password is set.
Views
User interface view