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
2-18
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Configuring Terminal Parameters
•
From a VTY session (Telnet or SSH):
switch(config)#
line vty
switch(config-line)#
exec-timeout 60
Specifies the current console shell timeout to be 60 minutes.
Displaying Terminal Sessions
Use the
show line
command to display all configured terminal sessions:
switch#
show line
line Console:
Speed: 9600 bauds
Databits: 8 bits per byte
Stopbits: 1 bit(s)
Parity: none
Modem In: Disable
Modem Init-String -
default : ATE0Q1&D2&C1S0=1\015
Statistics: tx:5558511 rx:5033958 Register Bits:RTS|CTS|DTR|DSR|CD|RI
line Aux:
Speed: 9600 bauds
Databits: 8 bits per byte
Stopbits: 1 bit(s)
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
Clearing Terminal Sessions
Use the
clear line
command to clear a specified terminal session:
switch#
clear line Aux
Setting the 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 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.