royalblues Wed, 11/21/2007 - 02:10
User Badges:
  • Green, 3000 points or more

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

james.sealey Wed, 11/21/2007 - 02:17
User Badges:

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?

Kevin Dorrell Wed, 11/21/2007 - 03:26
User Badges:
  • Green, 3000 points or more

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


glen.grant Wed, 11/21/2007 - 02:54
User Badges:
  • Purple, 4500 points or more

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 .

CSCO11694772 Sat, 05/14/2011 - 07:14
User Badges:

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

-----------------------------------------------

Actions

This Discussion