exec-timeout
To set the interval that the EXEC command interpreter waits until user input is detected, use the exec-timeout command in line configuration mode. To remove the timeout definition, use the no form of this command.
exec-timeout minutes [seconds]
no exec-timeout
Syntax Description
minutes |
Integer that specifies the number of minutes. The default is 10 minutes. |
seconds |
(Optional) Additional time intervals in seconds. |
Command Default
10 minutes
Command Modes
Line configuration (config-line)
Command History
Release |
Modification |
---|---|
Cisco IOS XE Catalyst SD-WAN Release 17.10.1a |
This command was introduced. |
Usage Guidelines
If no input is detected during the interval, the EXEC facility resumes the current connection. If no connections exist, the EXEC facility returns the terminal to the idle state and disconnects the incoming session.
To specify no timeout, enter the no form of this command.
The following example shows how to set a time interval of 2 minutes, 30 seconds:
Device(config)# line console 0
Device(config-line)# exec-timeout 2 30
The following example shows how to set a time interval of 10 seconds:
Device(config)# line aux 0
Device(config-line)# exec-timeout 0 10