Cisco Catalyst 2000 Configuration Handbook page 28

Catalyst series lan switching
Table of Contents

Advertisement

Note When you resume the connection, you are prompted with the message "[Resuming
connection 2 to Switch ... ]." After you resume your connection, the message shown here
does not change, and the switch does not display a prompt. To refresh the device prompt,
press Ctrl-r or Ctrl-l.
f.
End an active session:
Switch2#Ctrl-^ x
Switch1# disconnect connection-number
When the remote session is suspended, you can use the disconnect command to
end the session and close the Telnet connection. Otherwise, your session remains
open until the remote host times the connection out (if at all).
g. Terminal screen format.
Set the screen size for the current session only:
Switch#terminal length lines
Switch# terminal width characters
Set the screen size for all sessions:
Switch(config-line)# length lines
Switch(config-line)# width characters
The screen is formatted to characters wide by lines high. When the number of
lines of output from a command exceeds lines, the —More— prompt is used. If
you don't want the output displayed by page with —More—, use length 0. The
default length for sessions is 24 lines, and the default width for settings is 80
characters.
h. Configure session timeout values.
Define an absolute timeout for a line:
Switch(config-line)# absolute-timeout minutes
All active sessions on the line are terminated after minutes have elapsed. (Default
is 0 minutes, or an indefinite session timeout.)
Define an idle timeout for a line:
Switch(config-line)# session-timeout minutes [output]
All active sessions on the line are terminated only if they have been idle for
minutes. (Default is 0 minutes, or an indefinite idle timeout.) The output key-
Chapter 1: CLI Usage 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents