L
INE
C
OMMANDS
4-25
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-55)
show users (4-84)
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#