We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

How to telnet to computer and access switch configuration via serial port?

Medium Priority
1,083 Views
Last Modified: 2013-11-30
I have one server in my small network at home that has multiple purposes, one of which is to configure my Cisco router and Asante switch via serial ports. My goal is to be able to access the configuration for both my router and my switch from another room in the house. I can access my Cisco router configuration via telnet directly to the router, but the switch does not have that capability. The only way to access the configuration for the switch is via the serial console port. Is there any way to telnet into the machine whose serial port is connected to the switch and access it that way? I know that VNC is a viable option, but I don't want it to be graphical, only command-line. I just need an application that I can run on the server over telnet that basically does what hyperterminal does. The machine is running NT Server 4.0, latest SP. Thanks.
Comment
Watch Question

Technical Architect
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Plus high end Asante swiches have a web interface?

Author

Commented:
Thanks for the quick response, but all that data isn't applicapable to my situation. I explicitly stated that I don't want to use VNC, or any GUI software for that matter. I know how to connect to the server. I need an application (or command) to get data from the serial port once I'm connected via telnet / SSH to the machine. Also, this is a lower-end Asante switch. It doesn't have a web interface.
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
OK Thomas best of luck :)
Top Expert 2004

Commented:
We have a Digi Terminal Server that can do exactly what you're talking about - It has 32 Serial Ports.  I can telnet to the Digi box and specify a port number.  The port number corresponds to the physical serial port - so that the telnet session actually connects to the serial port.

I know that they run a variant of Linux on the box, but I have no idea how it's done - I just wanted to post that it is possible.

Sorry I couldn't help more.
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Mmm good point I seen to remember runing a Shiva Atom Spider port that did a similar job (though it was a long time ago)
wyliecoyoteukIT director
CERTIFIED EXPERT

Commented:
You need to run an ssh or telnet server on the winNT box, you should then be able to access the serial port from the shell session.
(Never done this on a windows box, but in theory it should work).
Try these links:

http://www.jfitz.com/tips/ssh_for_windows.html#Tera_Term_ProTTSSH
http://lexa.mckenna.edu/sshwindows/

There is an excellent free telnet/SSH client here:

http://www.chiark.greenend.org.uk/~sgtatham/putty/
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
putty is indeed excellent :)

Commented:
Look into the following option:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rexec.mspx

You shoudl be able to 'rexec' to your server asking it to execute the program that does hypterterminal's job ( but just text based ).

I am not sure of a program to do this, but if you get stuck finding the software, let us know and we can have a look for you!
The machine on which your router and switch is connected I call it the server and the other machine in other room I call it Client.

now go to the server and type tlntadmn in RUN dialog box and click ok. A command window will open type 4 and press enter.Press 3 and press enter.type 7 and enter.press y and enter.type '0'(zero) and enter.press y and enter.type 0 (zero) & enter.Again 0 (zero) and then enter.


Now go to client and type telnet in run dialog box. In command box type
open  192.X.X.X(ip of the server)

if prompted supply the authentication infomation and you should be connected to the server.


hope this will help you.
Top Expert 2004

Commented:
Coincidentally, I just received this email newsletter:

Quote:"This is the first of a two-part series on implementing an asynchronous serial line terminal server using a Cisco 2511 with 16 fixed asynchronous serial ports or 26x0, 36x0 or 37x0 series modular routers using NM-16A or NM-32A. Cisco terminal servers are a popular alternative to Unix/Linux and Windows servers configured with multi-port serial cards for deploying out-of-band (OOB) access to routers and switches. They can also provide for PPP, SLIP and PPTP remote access or dial-out modem pools. This month's article will focus on theory, especially the need for and problems of implementing OOB access, basic RS-232 operation and function of null modems. In part two, we will focus on the practical -- implementing a Cisco router as a terminal server providing direct asynchronous access to Cisco routers, along with basic dial-in and dial-out services.  ..."

ROUTING & SWITCHING
Router Expert: Implementing IOS async terminal services
Michael J. Martin
23 Mar 2004
Rating: --- (out of 5)

http://searchnetworking.techtarget.com/tip/0,289483,sid7_gci956176,00.html?track=NL-31 (You may have to do a free registration to view this)
go to www.solarwinds.net and download the solarwinds 2000 engineers toolkit its evaluation edition but will work for you for free, its about 80 mb in size, install it and it will surely help you.
Top Expert 2004

Commented:
How would solarwinds Engineer's toolkit help them in telnetting into a server and connecting to the comm port?
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
I agree? solarwinds is one of the best peices of software I own, but unless everything has a web interface your back to square one??
you can manage any of the managable switch on the network through the solarwinds engineer toolkit.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.