cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
293
Views
5
Helpful
1
Replies

how to retain session for telnet and console?

sam-lee
Level 1
Level 1

The max timeout is 300s for telnet and console login.Is there any way to increase the timeout/disable the timeout so that the session will retain forever?

1 Reply 1

ankurbhasin
Level 9
Level 9

Hi Sam,

You can configure a command "exec-timeout 0 0" under line vty 0 4 and under line console 0 to retain the session forever but I will not recommed you to keep it up forever and occupy the vty lines but instead you can configure to increase the time out with same command exec-timeout 30 0 which will keep the session to be active for 30 minutes or more also if you want.

The first value is for minutes and 2nd value is for seconds in this command.

To specify no timeout, enter the exec-timeout 0 0 command.

You can also check this link for more details

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124tcr/tcf_r/cf_03ht.htm#wp1035605

HTH, if yes please rate the post.

Ankur

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: