Line Commands 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

Console#disconnect 1

Console#

Related Commands

show ssh (4-42) show users (4-67)

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

4-19

Page 261
Image 261
Accton Technology ES3552XA, ES3526XA manual Syntax Disconnect session-id, Syntax Show line console vty