Solved

Cisco 2800 telnet login problem

Posted on 2008-06-19
4
1,524 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
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…
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…

737 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