Monitoring User Sessions - Cisco WS-C2950SX-48-SI Configuration Manual

Catalyst 4500 series switches
Hide thumbs Also See for WS-C2950SX-48-SI:
Table of Contents

Advertisement

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 active console port and Telnet sessions on the switch.
To display the active user sessions on the switch, perform this task in privileged mode:
Task
Display the currently active user sessions on the
switch.
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
-------- ---------------- -------------------------
console
telnet
* telnet
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
-------- ---------------- -------------------------
console
telnet
telnet
* telnet
Console> (enable)
This example shows how to display information about user sessions using the noalias keyword to display
the IP addresses of connected hosts:
Console> (enable) show users noalias
Session
-------- ---------------- -------------------------
console
telnet
* telnet
Console> (enable)
To disconnect an active user session, perform this task in privileged mode:
Task
Disconnect an active user session on the switch.
This example shows how to disconnect an active console port session and an active Telnet session:
Console> (enable) show users
Session
-------- ---------------- -------------------------
console
telnet
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
20-8
User
Location
sam-pc.bigcorp.com
jake-mac.bigcorp.com
User
Location
sam
jake
jake-mac.bigcorp.com
tim
tim-nt.bigcorp.com
suzy
suzy-pc.bigcorp.com
User
Location
10.10.10.12
10.10.20.46
User
Location
sam
jake
jake-mac.bigcorp.com
Chapter 20
Checking Status and Connectivity
Command
show users [noalias]
Command
disconnect {console | ip_addr}
Release 8.1
78-15486-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents