Command
Exec-Timeout
Use
Sets the timeout period for virtual terminal session inactivity.
Syntax
Router(config-line)#exec-timeout
Example
In this example an exec-timeoutis set for console 0.
Copy
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#line vty 0 4
R2(config-line)#exec-timeout 15 50
R2(config-line)#