Solved

Can't telnet into Cisco switch

Posted on 2011-03-03
8
1,258 Views
Last Modified: 2012-06-27
I have a pair of stacked 3750 Cisco switches.  I am able to log into the web interface with no problems.  I can also log into the switch through the console port with no problems.  But when I try and telnet into the switch I get "Could not open connection to the , on port 23 : connection failed".  I have checked both the web interface and through the console and telnet has been enabled with an IP address.

Thanks in advance for any help!
0
Comment
Question by:DallasAdmin
[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
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 14

Accepted Solution

by:
SIM50 earned 250 total points
ID: 35031651
Is there a password set for telnet connection? It will not allow you to connect until there is a password.
0
 
LVL 3

Expert Comment

by:lloydclinton
ID: 35031703
You have to go to the vty lines and enable login and set a password..

You should use SSH though as it is more secure..
0
 

Author Comment

by:DallasAdmin
ID: 35031718
I believe I did do this.  Correct me if I'm wrong, but this are the commands I entered:

config t
line vty 0 4
login
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 2

Expert Comment

by:_valkyrie_
ID: 35031762
Make sure you have a local user account configured (i.e.

username myuseraccount privilege 15 secret 0 mypassword
line vty 0 4
 login local
 transport input telnet

Though changing transport to SSH is a better choice.
0
 

Author Comment

by:DallasAdmin
ID: 35031823
I'll try it, but it seems odd I would have to set it up on this switch when I didn't do it for any of the others in our environment.
0
 
LVL 14

Expert Comment

by:SIM50
ID: 35031849
As experts above pointed out, you have to either configure to use local user database or a password for telnet connections. It is disabled by the default until either is set for security reasons.
0
 
LVL 2

Assisted Solution

by:_valkyrie_
_valkyrie_ earned 250 total points
ID: 35031878
If you want to go the password on the line route, you would use:

line vty 0 4
 password 0 somepassword
 login

When I tried configuring one of our access points to use telnet -without- a password, IOS told me that it would be disabled until a password was set. Once I set the password (as above), it worked. I would still recommend the local user database with SSH over the above method.
0
 

Author Closing Comment

by:DallasAdmin
ID: 35031914
Thanks guys!  It took a little fumbling around, but you nailed it.
0

Featured Post

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

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

I see many questions here on Experts Exchange regarding switch port configurations and trunks. This article is meant for beginners in the subject to help to get basic knowledge about Virtual Local Area Network (VLAN (http://en.wikipedia.org/wiki/Vir…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 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