Disconnect, Show line – Planet Technology SGSD-1022 User Manual

Page 387

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

387

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

show users

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

Example

To show all lines, enter this command:

Console#show line

Console Configuration:

Advertising