4

We are about to get our first managed switch at work (Procurve 2520G-24-PoE), and this lowly programmer gets to put on his admin hat and try to configure it. The switch has an RJ45 serial port for console access. My laptop has USB ports but no serial port. In fact, there isn't a single computer in the office with a serial port.

I've seen USB-to-DB9 adapters, but I need to go from USB to RJ45 (serial). How would I go about accomplishing this? Do I need two adapters? Will USB-to-DB9 and then DB9-to-RJ45 work?

Thanks in advance.

  • To piggy back off your question - yesterday I was looking at a funky Toshiba AC100 notebook running Android and thinking it would be perfect as a lightweight "KVM" for onsite work - anyone know if Android can support these USB serial cables? The driver discs with them usually only include Windows drivers... – Mitch Miller Sep 08 '10 at 02:31
  • possible duplicate of [Does a USB to RJ-45 console cable exist?](http://serverfault.com/questions/156508/does-a-usb-to-rj-45-console-cable-exist) – Dennis Williamson Sep 08 '10 at 09:30

3 Answers3

4

The USB to DB9 serial and DB9 to RJ-45 works perfectly fine. I use just that combination (with a standard Cisco DB9->RJ-45 serial cable) all the time.

Helvick
  • 19,579
  • 4
  • 37
  • 55
3

The manual is published on the Internet. Two methods are suitable for connecting to the switch.

The switch should come with a RJ45 to DB9 connector, which you can use any standard DB9 to USB adapter if you only have USB. This is the preferred method.

Also, the switch will acquire an IP address from DHCP or Bootp servers by default. Once a lease is acquired, you can connect to the switch's IP via either telnet or a Web browser.

Warner
  • 23,440
  • 2
  • 57
  • 69
  • You can also make sure that your PC is that DHCP server, by plugging in your PC directly to the switch and running a DHCP server (I use Tftpd32 Service Edition; it supports TFTP for firmware upgrades, as well as DHCP, Syslog, DNS - very handy for troubleshooting). – Mitch Miller Sep 08 '10 at 02:35
1

My laptop doesn't have any serial ports either, so I frequently use a USB->Serial dongle in combination with a DB9->RJ45 adaptor. Works just fine.

EEAA
  • 108,414
  • 18
  • 172
  • 242