Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Exec Idle Timeout

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

5 REPLIES

Re: Exec Idle Timeout

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

New Member

Re: Exec Idle Timeout

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?

Re: Exec Idle Timeout

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

Purple

Re: Exec Idle Timeout

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 .

New Member

Re: Exec Idle Timeout

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

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

1988
Views
7
Helpful
5
Replies
CreatePlease to create content