Question

Attempting to Connect to Cisco 2610 Router via Console Port w/ Hyperterminal

Asked by: hamlin11

I've got a DB9 - RJ45 cable connected to my PC.

I've got hypterminal, and I've setup a new connection with 9600 baud, 8 data bits, 0 parity, and 1 stop bit.

I've tried with and without flow control.

The router is already running when I try the connection.

Any tips on making this work? All I see is a white screen with a blinking black cursor.

Do I have to reboot the router while I'm connected?

Thanks

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2008-09-10 at 18:48:37ID23721554
Topics

Network Routers

,

Networking Hardware

,

IP Telephony

Participating Experts
7
Points
500
Comments
20

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Hyperterminal
    Hi I have a piece of hardware connected to te comm port of my computer and I want to read the string that comes from it using hyperterminal. However it seems to be encrypted. eg it comes out like f`x~xxxxxxxxxxxxff`x~xxxxxxxxxxxxff`x~xxxxxxxxxxxxff`x~xxxxxxxxxx xxf...
  2. HYPERTERMINAL EMPTY
    Hi Im trying to access my switch through the com port 1 db9 connection . when i go to open hyperterminal it wont open and it reads empty on the menu tab such as : i got to start - prog - access - communications - hyper.. - EMPTY What do I do ? thanks servergms
  3. HyperTerminal settings for PIX515e....
    I can't remember what settings to use to tunnel into a CiscoPIX 515e in HyperTerminal. I've got a console cable plugged into the PIX, running to a serial port of another computer. In hyperterminal I am connecting through COM1 and have: 9600 bits/sec 8 data bits No parity 1...
  4. Cisco 2600 cannot connect Hyperterminal
    Hi, I have a Cisco 2600 series router, which does not connect when I use Hyperterminal. I use the following settings: Bits per second - 9600 Data bits - 8 Partity - None Stop bits - 1 Flow control - None I am using a light blue rj-45 to rj-45 rollover cable. I start the H...
  5. CISCO system LED blinking orange/red
    Hi , My Cisco 2950 "SYST" Led is blinking orange and the 2 GBIC slots are also indicates yellow evethoughthey are vacant. And the switch is not working now. Any suggestions?
  6. Hyperterminal
    I am unable to HyperTerminal to my works Hp Procurve 2124 switch. The swith hasa no COM port so I am connecting to COM 1 on a laptop and then to RJ45 to the switch. The settings I am using are: BPS - 9600 Data Bits - 8 Parity - None Stop Bits - 1 Flow Control - Hardware Nothi...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: donmanrobbPosted on 2008-09-10 at 19:15:48ID: 22445340

Have you tried pressing enter a few times once you connected?

 

by: hamlin11Posted on 2008-09-10 at 19:23:13ID: 22445372

I just tried that, and I get nothing -- Still the blank white screen with a blinking cursor.

 

Any other ideas?

 

by: MysidiaPosted on 2008-09-10 at 19:40:04ID: 22445485

Do you have one end of a flat blue Cisco console cable plugged  into the
port on the router  that has a blue [Console]  label by it,
and the other end of that cable plugged into the DE-9  connector attached to your PC?

9600 baud is the proper _default_  baud setting.
IF someone else configured the device, they may have changed
the baud rate on the console port from the default of 9600 to something else.

It's also possible that the router is failing to boot.

Assuming the router is not attached to a production network
on which it's operating: try powering down the router and power it
back up, _while_ the console cable is plugged in and hyperterminal is
already running.

Then you can see if there are any console boot messages or if there
is any output at all.

Perhaps there is a problem with the console, DE-9 connector, or
your computer's serial port.

Perhaps you have selected the wrong COM port in hyperterminal --
maybe you need to select COM2 or COM3 instead of COM1,  or perhaps
you need to select COM1 instead of COM2 or COM3.

 

by: dkarpekinPosted on 2008-09-10 at 19:43:42ID: 22445515

If you sure , that you was using right cable, and tryed diffrent speed/ COM ports settings, and still no luck, - considere to reset switch to default.

 

by: donmanrobbPosted on 2008-09-10 at 20:01:13ID: 22445632

Do you have multiple serial ports on your computer?

 

by: vjlpPosted on 2008-09-10 at 21:17:25ID: 22446304

If the console line is not configured with 'login' and 'password xxx' commands, you may not be able to access the router via console. You may have to try a password recovery procedure to bypass the start-up config and change the configuration.

 

by: donmanrobbPosted on 2008-09-10 at 21:47:11ID: 22446392

vjlp:

If it was a login issue hamlin11 would still see output in hyperterminal.

 

by: hamlin11Posted on 2008-09-10 at 21:58:39ID: 22446431

"Do you have one end of a flat blue Cisco console cable plugged  into the
port on the router  that has a blue [Console]  label by it,
and the other end of that cable plugged into the DE-9  connector attached to your PC?"

I have another cable that is RJ45 -> DB9 -- I was digging around in the server closet and found it. I also found a DB9 --> Rj45 Adapter which I would assume some sort of patch cable plugs into from the console port of the router, but I don't know which cord. I suppose I could try several. I figured the RJ45 -> DB9 Cable would be adequate though, perhaps I was wrong.

"9600 baud is the proper _default_  baud setting.
IF someone else configured the device, they may have changed
the baud rate on the console port from the default of 9600 to something else."

I tried every setting from 1200 to 9600, both on com1 and com2 -- and I tried "xon xoff" and "off" or maybe "none" on whatever setting where hardware was an option -- I tried all combinations of what i just mentioned (I believe that makes 16 attempts)

"It's also possible that the router is failing to boot."

True but it's a production router for the phone system and the phone system is still working, so I think it's working.

"Assuming the router is not attached to a production network
on which it's operating: try powering down the router and power it
back up, _while_ the console cable is plugged in and hyperterminal is
already running.

Then you can see if there are any console boot messages or if there
is any output at all."


I can do this, but I have to go in after hours. is this worth trying? I'm afraid of screwing things up. I can't backup the config because I can't connect to the router.

Perhaps there is a problem with the console, DE-9 connector, or
your computer's serial port.

All possibilities - I could try the other serial port, but under device manager it seems to be enabled properly.

Perhaps you have selected the wrong COM port in hyperterminal --
maybe you need to select COM2 or COM3 instead of COM1,  or perhaps
you need to select COM1 instead of COM2 or COM3."

There's only com1 and com2 available, and I tried 16 combinations, 8 for each com.

If you sure , that you was using right cable, and tryed diffrent speed/ COM ports settings, and still no luck, - considere to reset switch to default.

I don't think I should do this, because this router was configured 4 years ago by somebody - we have no idea who, and a 50 phone live phone system depends on this router working. Maybe if I can backup the config, I'd do this - but I'd have to connect to the router first to be able to back it up.

"Do you have multiple serial ports
on your computer?"


Yes, 2 - tried 8 combinations of settings in hyperterminal for each port.

"If the console line is not configured with 'login' and 'password xxx' commands, you may not be able to access the router via console. You may have to try a password recovery procedure to bypass the start-up config and change the configuration."

I'm a little confused by this -- surely nobody would have configured the router to disallow console access right?

The router is plugged into a switch, can I just plug an ethernet patch cable into the switch to connect to the router?

 

by: hamlin11Posted on 2008-09-10 at 22:02:22ID: 22446444

The switch I can connect to - It's a 3550 cisco switch if I remember right. It has IOS 12.1 of some sort.

when i do a "sh ip route" it shows a certain IP address as the gateway, which I assume can only be the router.

I am unable to telnet to this address from what I think is either VLAN on the switch ( i can be wrong on this ).

When I'm on a server that can ping the IP address of what I believe to be the router, when I try to telnet, it rejects a connection on port 23. That's why I'm trying this direct connection.

Any ideas?

Thanks very much for your time.

In the absence of any new ideas, I will try the other DB9 --> RJ45 + various adapters  to see if they work better.  

I saw a diagram some place that showed which RJ45 --> RJ45 cord to use in this scenario, It was either a standard one or the light blue one.

Either way, I doubt this will fix it, because this DB9 --> RJ45 once-piece cord seems to be an old cisco cord made for this purpose.

Any Ideas? Thanks

 

by: hamlin11Posted on 2008-09-10 at 22:03:38ID: 22446451

"If it was a login issue hamlin11 would still see output in hyperterminal."

Yes and to be clear, I see nothing but the white screen with blinking black cursor.

Thanks for the help, please let me know if you have any further ideas.

 

by: jkusnerPosted on 2008-09-10 at 23:27:30ID: 22446813

Have you tried using SSH instead of telnet? It could be that when this was configured they disabled telnet.

Also to see if your hyperterminal connection us setup properly and you are using the correct cable (blue ribbon cable), can you try accessing the switch via console? If that works you can then rule out incorrect cable / hyperterm settings.

 

by: Darr247Posted on 2008-09-10 at 23:31:19ID: 22446833

>  can do this, but I have to go in after hours. is this worth trying?

That should let you know if the baud rate was changed, because it will boot at the default of 9600 and then change once it's booted... during the time it's at 9600 you should see the boot info ouput scroll onto the screen.  If it's lasted 4+ years I doubt it's got the running config NOT backed up to the saved config.  Oh, and the main reason to change the baud rate from the default would be to make it faster (19200, 38400, et cetera)... I have never seen one set slower than default.

 

by: dkarpekinPosted on 2008-09-11 at 04:08:33ID: 22448347

If you figured IP of the router, then you'll see output in IE , using this ip - http://x.x.x.x
Personally I would reset it ti default , not to wory   to much.

 

by: donaldrushPosted on 2008-09-11 at 08:26:19ID: 22450954

If the router is connected to the switch that you were able to login to I would do a "show cdp neighbors detail". This will give you a listing of each directly connected cisco device and what it is reporting as it's IP.

 

by: donmanrobbPosted on 2008-09-11 at 10:53:48ID: 22452557

Try a different console cable / serial port.

 

by: hamlin11Posted on 2008-09-11 at 11:30:34ID: 22452969

"Have you tried using SSH instead of telnet? It could be that when this was configured they disabled telnet. "

I can try this -- If I connect to my switch via telnet, could I use the IOS on that switch to SSH to the router perhaps? I don't think there's a ssh client on any of the servers in the system. I could boot my laptop with Linux and connect to a switch I guess!

Also to see if your hyperterminal connection us setup properly and you are using the correct cable (blue ribbon cable), can you try accessing the switch via console? If that works you can then rule out incorrect cable / hyperterm settings."

That is a brilliant idea! Thank you!

"That should let you know if the baud rate was changed, because it will boot at the default of 9600 and then change once it's booted... during the time it's at 9600 you should see the boot info ouput scroll onto the screen.  If it's lasted 4+ years I doubt it's got the running config NOT backed up to the saved config.  Oh, and the main reason to change the baud rate from the default would be to make it faster (19200, 38400, et cetera)... I have never seen one set slower than default."

Good point -- Do i have to hit a key or anything while the thing is booting, or should stuff just scroll by on the hyperterminal?

"If you figured IP of the router, then you'll see output in IE , using this ip - http://x.x.x.x
Personally I would reset it ti default , not to worry  to much."

It didn't occur to me to try to connect to the router via http, I will try that to see what happens.

"If the router is connected to the switch that you were able to login to I would do a "show cdp neighbors detail". This will give you a listing of each directly connected cisco device and what it is reporting as it's IP."

show cdp is not available on the switch IOS 12.1 -- However, "sh ip route" works and it shows a gateway IP address - one which I can ping on most systems but which will not accept telnet sessions.


 

by: jkusnerPosted on 2008-09-11 at 21:08:49ID: 22457109

you may or may not be able to SSH directly from the switch. You can try the following command:
ssh -v 2 -l username router_ip

I would highly recommend downloading the free tool called putty. It is a great desktop SSH client and you will be able to use that to connect via SSH (or telnet) to any devices.You can get it here: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Also, let me know the result of trying to console directly into the switch using hyperterminal. If it doesn't work, all signs would point to the cable. I am attaching a picture of the blue rollover cable that comes with cisco routers for this task.

 

by: hamlin11Posted on 2008-09-12 at 09:49:05ID: 22461621

I had success!

1. I tried a different cable (didn't work)

2. I tried a ssh connection with putty (didn't work)

3. Tried two different cables to connect to switch (didn't work). This made me think serial ports weren't operating correctly, despite the fact that everything looked OK in the device manager.

4. I bought a USB -> Serial adapter. Connected it to my laptop and the other end in the console port of the router with the default 9600 / no flow control settings. After hitting enter a few times it worked (with hyperterminal)

Also complicating the factor -- The first RJ45 -> DB9 cable that I used (straight out of a cisco box) didn't work - It was either bad or the wrong kind. Fortunately, I found another DB9 -> RJ45 adapter and corresponding RJ45 -> RJ45 flat-light-blue cable and this cable worked.

What a relief!

I owe everybody here a big thank you... you all went above and beyond to help me and it is very much appreciated.


 

by: Darr247Posted on 2008-09-12 at 15:11:04ID: 22464310

Glad to hear you got it working.
Here are a couple links that might come in handy in the future...
Cisco console settings and cables for routers
http://www.cisco.com/en/US/products/hw/routers/ps332/products_tech_note09186a0080094ce6.shtml

Cisco console settings and cables for switches
http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a008010ff7a.shtml

 

by: hamlin11Posted on 2008-09-12 at 15:24:18ID: 22464403

Thanks Darr

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...