Administrator Guide

Switch Management Commands 2231
show sessions
Use the show sessions command in Privileged EXEC mode to display a list of
the open telnet sessions to remote hosts.
Syntax
show sessions
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Configuration mode and all Configuration submodes
User Guidelines
This command has no user guidelines.
Example
The following example displays a list of open telnet sessions to remote hosts.
console#show sessions
Session User Name Connection from Idle Session Session
ID Time Time Type
------- ---------------------- ----------------- -------- -------- ---------
0 ---- EIA-232 00:00:00 00:01:03 Serial
1 admin 10.130.128.17 00:00:05 00:00:10 Telnet
11 admin 10.27.192.56 00:00:27 00:00:28 HTTP
The following table describes the significant fields shown in the display.
Field Description
Session ID The session identifier. Use with the disconnect
command.
Connection from The origin of the connection.
Idle Time The elapsed time since session activity was last
detected.
Session Time The elapsed time since the session was connected.
2CSNXXX_SWUM204.book Page 2231 Monday, January 25, 2016 1:25 PM