Clearing Vty Sessions; Setting The Switch's Terminal Timeout; Setting The Switch's Terminal Type; Setting The Switch's Terminal Length - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

Searching and Filtering CLI Output
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

Clearing VTY Sessions

Use the clear line command to close a specified VTY session:
switch# clear line Aux

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.
Cisco MDS 9000 Family Command Reference
1-26
Parity:
none
Modem In: Disable
Modem Init-String -
default : ATE0Q1&D2&C1S0=1\015
Hardware Flowcontrol: ON
Statistics:
tx:35
rx:0
Register Bits:RTS|DTR
Chapter 1
CLI Overview
OL-16217-01, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents