Line Commands
line
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
312
21
Syntax
exec-timeout
minutes
no exec-timeout
Parameters
•
minutes
—The number of minutes. (Range: 0 to 65535, 0 means no timeout)
Default Configuration
The default idle time is 10 minutes.
Command Mode
Line Configuration mode
Example
The following example sets the idle time for Telnet sessions to 20 minutes:
switchxxxxxx(config)#
line telnet
switchxxxxxx(config-line)#
exec-timeout 20
line
To identify a specific line for configuration and enter the Line Configuration
command mode, use the line Global Configuration mode command.
Syntax
line {console | ssh | telnet}
Parameters
•
console—Specifies the terminal line mode.
•
telnet—Specifies the switch as a virtual terminal for remote access (Telnet).
•
ssh—Specifies the switch as a virtual terminal for secured remote access
(SSH).
Command Mode
Global Configuration mode