CLI Reference Guide-R04

Table Of Contents
Chapter 4
| System Management Commands
Line
– 148 –
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-8)
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 (273)
show users (121)
terminal This command configures terminal settings, including escape-character, lines
displayed, terminal type, width, and command history. Use the no form with the
appropriate keyword to restore the default setting.
Syntax
terminal {escape-character {ASCII-number | character} | history [size size] |
length length | terminal-type {ansi-bbs | vt-100 | vt-102} | width width}
no terminal {escape-character | history [size] | length | terminal-type |
width}
escape-character - The keyboard character used to escape from current
line input.
ASCII-number - ASCII decimal equivalent. (Range: 0-255)
character - Any valid keyboard character.
history - The number of lines stored in the command buffer, and recalled
using the arrow keys.
size size - The number of command lines stored (Range:0-256)
length length - The number of lines displayed on the screen. (Range: 0,
24-200, where 0 means not to pause)
terminal-type - The type of terminal emulation used.