If the parameter all is not configured, this command displays information about the users whose connections are set up; if the parameter all is configured, this command displays information about all users, including the users whose connections are not set up.
After the display users command is run, the login information (such as the user name and address) and the authentication and authorization information about the users that log in to the device are displayed.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display users
User-Intf Delay Type Network Address AuthenStatus AuthorcmdFlag
+ 34 VTY 0 00:00:00 TEL 10.134.146.150 pass yes
Username : huawei_123
35 VTY 1 00:12:17 TEL 10.179.179.127 pass yes
Username : huawei_123
36 VTY 2 00:00:00 TEL 10.136.138.221 not pass no
Username : Unspecified
Item | Description |
---|---|
User-Intf | Indicates the absolute number (in the first column) and the relative number (in the second column) of a user interface. |
Delay | Indicates time elapsed since the last user input, in seconds. |
Type | Indicates the connection type that can be Telnet, Console, or SSH. |
Network Address | Indicates the IP address of the host that initiates a connection. |
Username | Indicates the name of a user who uses this interface, that is, the login user name. If AAA authentication is not configured, the user name displays Unspecified. |
AuthenStatus | Indicates whether authentication passes. |
AuthorcmdFlag | Indicates whether a user is authorized to use a command line:
|
+ | Indicates the terminal line in use. |