4 Command Line Interface

Example

To specify 2 stop bits, enter this command:

Console(config-line)#stopbits 2

Console(config-line)#

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-40) show users (4-61)

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-18

Page 260
Image 260
SMC Networks SMC8150L2 manual Syntax Disconnect session-id, Syntax Show line console vty