20-14
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 20 Checking Status and Connectivity
Monitoring User Sessions
Monitoring User Sessions
You can display the currently active user sessions on the switch using the show users command. The
command output displays all the active console port and Telnet sessions on the switch.
To display the active user sessions on the switch, perform this task in privileged mode:
This example shows the output of the show users command when local authentication is enabled for
console and Telnet sessions (the asterisk [*] indicates the current session):
Console> (enable) show users
Session User Location
-------- ---------------- -------------------------
console
telnet sam-pc.bigcorp.com
* telnet jake-mac.bigcorp.com
Console> (enable)
This example shows the output of the show users command when TACACS+ authentication is enabled
for console and Telnet sessions:
Console> (enable) show users
Session User Location
-------- ---------------- -------------------------
console sam
telnet jake jake-mac.bigcorp.com
telnet tim tim-nt.bigcorp.com
* telnet suzy suzy-pc.bigcorp.com
Console> (enable)
This example shows how to display information about a user session using the noalias keyword to
display the IP addresses of the connected hosts:
Console> (enable) show users noalias
Session User Location
-------- ---------------- -------------------------
console
telnet 10.10.10.12
* telnet 10.10.20.46
Console> (enable)
To disconnect an active user session, perform this task in privileged mode:
Task Command
Display the currently active user sessions on the
switch.
show users [noalias]
Task Command
Disconnect an active user session on the switch. disconnect {console | ip_addr}