Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

how to retain session for telnet and console?

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

Re: how to retain session for telnet and console?

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

128
Views
5
Helpful
1
Replies
CreatePlease to create content