11-21-2007 01:54 AM - edited 03-05-2019 07:32 PM
Is it possible to to change the exec idle timeout valuse for a single active session?
11-21-2007 02:10 AM
No i dont think so
But what you can do something like this
line vty 0 0
exec-timeout 5 0
line vty 1 15
no exec-timeout
This way the session which choses vty 0 will have the exec-timeout associated while other vty sessions will not.
HTH
Narayan
11-21-2007 02:17 AM
Thanks.
I have also been looking that the options that are available within PuTTY to configure keepalives but nothing appears to work.
Have you had any experience of using this?
11-21-2007 03:26 AM
Expanding on what Narayan was proposing, you could configure so that by telnetting to a specific port you get no exec-timeout, but a normal telnet still gets timed out.
The way you could do this would be to reserve a specific vty line that will have the exec-timeout disabled. The best line to use would be the last one, because that would be the last one that the other users would fall upon by doing normal telnet.
So, configure it something like:
line vty 15
no exec-timeout
login local
rotary 1
The rotary 1 defines this vty as being port 3001. Doing a telnet to port 3001 will get you a timeless telnet session.
If you want to, you can protect this service by insisting on a locally defined username, or by attaching an access-class.
Kevin Dorrell
Luxembourg
11-21-2007 02:54 AM
If you just want to have it not time you out just temporarily change the exec-timeout value to 0 on your vty lines , then change it back when you are done .
05-14-2011 07:14 AM
Hi
If you want "How to define exec time-out" :
with console
(conf-t)#line console 0
#exec time-out ----min--- ----sec----
if you want disable
#exec time-out 0 0
for vty
(conf-t)#line vty ?
#exec time-out ----min--- ----sec----
if you want disable
#exec time-out 0 0
-----------------------------------------------
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide