Solved

Cisco 2800 telnet login problem

Posted on 2008-06-19
4
1,513 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:kevinbolles
  • 2
4 Comments
 
LVL 7

Expert Comment

by:kanlue
ID: 21824847
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
 
LVL 7

Expert Comment

by:kanlue
ID: 21824864
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
 

Author Comment

by:kevinbolles
ID: 21832232

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
 
LVL 28

Accepted Solution

by:
Jan Springer earned 125 total points
ID: 21841651
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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Hello to you all, I hear of many people congratulate AWS (Amazon Web Services) on how easy it is to spin up and create new EC2 (Elastic Compute Cloud) instances, but then fail and struggle to connect to them using simple tools such as SSH (Secure…
Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now