Specifications
18-2 Session Management Commands
clear sessions
Clearsalladministrativesessions,orclearsadministrativeconsoleorTelnetsessions.
Syntax
clear sessions {admin | console | telnet [client [session-id]]}
Parameters
Defaults
None.
Mode
Enabled.
Example
Toclearalladministra torsessionstypethefollowingcommand:
RBT-8100# clear sessions admin
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
Toclearalladministrativesessionsthroughtheconsole,typethefollowingcommand:
RBT-8100# clear sessions console
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
To clear all administrative Telnet sessions, type the following command:
RBT-8100# clear sessions telnet
This will terminate manager sessions, do you wish to continue? (y|n) [n]y
To clear Telnet client session 0, type the following command:
RBT-8100# clear sessions telnet client 0
Related Commands
showsessionsonpage 18‐5
admin ClearssessionsforalluserswithadministrativeaccesstotheRoamAbout
switchthroughaTelnetorSSHconnectionoraconsolepluggedintothe
switch.
console ClearssessionsforalluserswithadministrativeaccesstotheRoamAbout
switchthroughaconsolepluggedintotheswitch.
telnet Clearssessions
foralluserswithadministrativeaccesstotheRoamAbout
switchthroughaTelnetconnection.
telnet client
[session‐id]
ClearsallTelnetclientsessionsfromtheCLItoremotedevices,orclearsan
individualsessionidentifiedbysessionID.