Command Line Interface
4-18
4
disconnect
This command terminates an SSH, Telnet, or console connection.
Syntax
disconnect session-id
session-id – The session identifier for an SSH, Telnet or console
connection. (Range: 0-4)
Command Mode
Privileged Exec
Command Usage
Specifying session identifier “0” will disconnect the console connection.
Specifying any other identifiers for an active session will disconnect an SSH or
Telnet connection.
Example
Related Commands
show ssh (4-41)
show users (4-58)
show line
This command displays the terminal line’s parameters.
Syntax
show line [console | vty]
console - Console terminal line.
vty - Virtual terminal for remote console access (i.e., Telnet).
Default Setting
Shows all lines
Command Mode
Normal Exec, Privileged Exec
Console#disconnect 1
Console#