Setting The Switch's Terminal Timeout; Setting The Switch's Terminal Type; Setting The Switch's Terminal Length; Setting The Switch's Terminal Width - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 1
CLI Overview
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Setting the Switch's Terminal Timeout

Use the terminal session-timeout command in EXEC mode to configure the automatic logout time for
the current terminal session on that switch. When the time limit configured by this command is exceeded,
the switch closes that session and exits.
The syntax for this command from is terminal session-timeout minutes
The default is 30 minutes. You can set the terminal session-timeout value to 0 to disable this feature so
the terminal remains active until you choose to exit the switch. This change is not saved in the
configuration file.
switch# terminal session-timeout 600
Specifies the terminal timeout to be 600 minutes for the current session.

Setting the Switch's Terminal Type

Use the terminal terminal-type command in EXEC mode to specify the terminal type for a switch:
The syntax for this command is terminal terminal-type terminal-type
switch# terminal terminal-type vt100
Specifies the terminal type. The terminal-type string is restricted to 80 characters and must be a valid
type (for example vt100 or xterm). If a Telnet or SSH session specifies an unknown terminal type, the
switch uses the vt100 terminal by default.

Setting the Switch's Terminal Length

To set the terminal screen length for the current session, use the terminal length command in EXEC
mode. This command is specific to only the console port. Telnet and SSH sessions set the length
automatically.
The syntax for this command is terminal length lines
switch# terminal length 20
Sets the screen length for the current session to 20 lines for the current terminal session. The default is
24 lines.

Setting the Switch's Terminal Width

To set the terminal screen width for the current session, use the terminal width command in EXEC
mode. This command is specific to only the console port. Telnet and SSH sessions set the width
automatically.
The syntax for this command is terminal width columns
switch# terminal width 86
Sets the screen length for the current session to 86 columns for the current terminal session. The default
is 80 columns.
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Searching and Filtering CLI Output
Cisco MDS 9000 Family Command Reference
1-27

Advertisement

Table of Contents
loading

Table of Contents