C
OMMAND
L
INE
I
NTERFACE
4-80
show users
Shows all active console and Telnet sessions, including user name, idle
time, and IP address of Telnet client.
Default Setting
None
Command Mode
Normal Exec, Privileged Exec
Command Usage
The session used to execute this command is indicated by a “*” symbol
next to the Line (i.e., session) index number.
Example
show version
This command displays hardware and software version information for the
system.
Default Setting
None
Console#show users
Username accounts:
Username Privilege Public-Key
-------- --------- ----------
admin 15 None
guest 0 None
steve 15 RSA
Online users:
Line Username Idle time (h:m:s) Remote IP addr.
----------- -------- ----------------- ---------------
0 console admin 0:14:14
* 1 VTY 0 admin 0:00:00 192.168.1.19
2 SSH 1 steve 0:00:06 192.168.1.19
Web online users:
Line Remote IP addr Username Idle time (h:m:s).
----------- -------------- -------- ------------------
1 HTTP 192.168.1.19 admin 0:00:00
Console#