Telnet to 7200 Router

Unanswered Question
Jan 12th, 2008

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
mohammedmahmoud Sat, 01/12/2008 - 03:13

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.

mohammedmahmoud Mon, 01/14/2008 - 08:24

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.

Joseph W. Doherty Mon, 01/14/2008 - 12:59

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.

Actions

This Discussion