
exec-timeout
Configures automatic session logout if there is no keyboard input or output displayed on the terminal.
Syntax: [terminal] exec-timeout min [sec]
terminal
Sets automatic timeout for this session only. The setting is not saved in the running-configuration file.
min
Number of minutes of inactivity allowed before auto logout of this session. Valid values are 0-65535
sec
Optional. Number of seconds of inactivity before auto logout.
Use the exec-timeout command to configure the number of minutes without terminal activity before the session is automatically ended. Use the command in Privileged command mode to set the timeout for this session only. Use the command in Line configuration command mode to set the timeout for this and future sessions.
In Privileged command mode: use the terminal keyword to configure the timeout for only this session. The setting is not saved when the session ends.
Use the terminal exec-timeout min command to configure the number of minutes of keyboard inactivity before automatic logout for only the current session.
In Line configuration command mode: omit the terminal keyword. The setting is saved for future sessions.
Use the exec-timeout min command to configure the number of minutes of keyboard inactivity before automatic logout.
Factory Default: 10 minutes.
Command Mode: Line configuration and privileged.
Example 1: In the following example:
- The line console command specifies the console and changes the command mode to Line configuration.
- The exec-timeout command configures the console to automatically logout if there is no command line activity for 15 minutes.
- The show running-config command displays the setting:
NOTE The setting will be saved for future VTY sessions.
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#line console 0
router(config-line)#exec-timeout 15
router(config-line)#end
router#show running-config
.
.
.
!
line console 0
exec-timeout 15 0
Example 2: In the following example:
- The terminal exec-timeout min command configures the current session to automatically logout if there is no command line activity for 12 minutes:
NOTE The setting is not saved for future sessions.
router#terminal exec-timeout 12
router#
Related Commands: length
line
show line
show terminal
width
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: navigation.fm
HTML File Name: navigation7.html
Last Updated: 02/25/05 at 14:25:22