cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3001
Views
7
Helpful
5
Replies

Exec Idle Timeout

james.sealey
Level 1
Level 1

Is it possible to to change the exec idle timeout valuse for a single active session?

5 Replies 5

royalblues
Level 10
Level 10

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

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?

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
VIP Alumni
VIP Alumni

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 .

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: