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

Telnet to 7200 Router

The problem i face is that every 3-4 days this kind of router does not let me connect to it via telnet. I tried also via a switch which is directly connected with it but nothing. If i do not restart it , nothing happen.

Meantime i can connect via console.

What might be the problem.

Thanks

moses

5 REPLIES

Re: Telnet to 7200 Router

Hi Moses,

First can you post the configuration under the VTY lines, we need to check somethings like the exec-timeout, can you also please post a show users and show line.

BR,

Mohammed Mahmoud.

New Member

Re: Telnet to 7200 Router

I will post them tomorrow.

Thanks a lot.

moses

New Member

Re: Telnet to 7200 Router

the show ... is at the attachment.

Thanks a lot

moses

Re: Telnet to 7200 Router

Hi Moses,

Your posted output shows that you have configured "exec-timeout 0 0", which will keep the session (no timeout) unless you explicitly exit and terminate it (you can see that one of your sessions is 4 days ago), try configuring "exec-timeout 5 0", this will automatically terminate the session after 5 min idle, and you shouldn't face such problems again.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cr/hcf_r/cfn_03h.htm#wp1035605

BR,

Mohammed Mahmoud.

Super Bronze

Re: Telnet to 7200 Router

Another solution, add to your config:

service tcp-keepalives-in

service tcp-keepalives-out

PS:

This and the exec timeout are not exclusive. Exec timeout will drop if there is no activity although the TCP session is up. The keepalives will drop if the TCP session is lost.

181
Views
5
Helpful
5
Replies
CreatePlease to create content