exec-timeout
To set the session idle time interval, during which the system waits for user input before automatic logoff, use the exec-timeout Line Configuration mode command. To restore the default configuration, use the no form of this command.
Syntax
exec-timeout minutes [seconds]
no exec-timeout
Parameters
-
minutes—Specifies the number of minutes. (Range: 0-65535)
-
seconds—(Optional) Specifies the number of seconds. (Range: 0-59)
Default Configuration
The default idle time interval is 10 minutes.
Command Mode
Line Configuration Mode
Example
The following example sets the telnet session idle time interval before automatic logoff to 20 minutes and 10 seconds.
switchxxxxxx(config)# line telnet
switchxxxxxx(config-line)# exec-timeout 20 10
Feedback