Cisco 2800 telnet login problem

I have 2 Cisco 2800 routers at remote locations on separate networks that are giving me a problem with telneting in. I telnet to the ip address and it comes up with password. I type in the password and no go. But if I call a remote person that is on site with the router and have them reboot the router I'm able to get in with the password just fine. This problem happens intermittently and with both routers.
kevinbollesAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jan SpringerConnect With a Mentor Commented:
If you're having a problem with telnet and a reboot fixes it, it sounds as if you have hit the ceiling with the number of vty connections that can be made.  If this is the case, it doesn't matter whether you use telnet or ssh.

And, if this is the problem, you should be verifying who has access to the device and that disconnects from the device are handled properly (by the remote client as well as the IOS).

You should be logging valid connections with the access-list and reviewing the router log to determine who is accessing the device.  You should also be using AAA so that each individual that connects to the device has his or her own credentials.

I do not recommend removing the time-out.  And to note:  the first 5 vtys are not configured like the next 10 vtys.  vtys 5 through 15 **do not** allow login.  vtys 0 through 4 do (and should) have the time-out set to 15 or lower.

When you configure your vtys -- unless for some reason you want the later vtys to have something different, it is just easiest to do thus:

config t
  line vty 0 15
  [your commands here]
0
 
kanlueCommented:
an easier workaround is to set up ssh in your router and use it instead of telnet.

another workaround is to upgrade the IOS in your router.

hope it helps.
0
 
kanlueCommented:
just in case, here is  a sample configuration of ssh:

!
hostname test
!
ip domain-name test.com
!
crypto key generate rsa
!
line vty 0 4
transport input ssh
login local
!
username cisco password cisco
!
0
 
kevinbollesAuthor Commented:

Although we had SSH setup already. This is working for now. We'll have to see how it goes. I changed the timeout to 15 from 0.

!
line vty 0 4
 access-class 66 in
 exec-timeout 15 0
 password 7 password
 login
 length 0
 transport input telnet ssh
!
line vty 5 15
 access-class 66 in
 exec-timeout 0 0
 no login
 length 0
 transport input none
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.