Friday, February 26, 2010

Linksys Managed Switches - Console Port

I had to set up a Linksys SRW2048 switch recently. It's a 48 port gigabit layer 2 switch. It's primarily web managed, but there is a limited CLI.

Anyway, the console port did not appear to be a standard pinout. I opened the RJ45 to DB9 connector they provided, and discovered it has this pinout:

Pin 1Pin 2Pin 3Pin 4Pin 5Pin 6Pin 7Pin 8Pin 9
xblackyellowbrownred (+green)orangewhitebluex

This is the same as the pinout as I used for the type "A" RJ45-DB9 connector in this article: here.

From my testing, you simply need to make two of the type "A" adapters I mentioned in the linked post, attach a cat5 cable to both ends, and you should be able to connect to the serial port. The Linksys uses 38400 baud - unlike the usual 9600.


Ian Salgado said...


I have a question regarding the Linksys/Cisco Console cable.

I have one of this cables (from a Cisco router). I'm trying to connect to the console in a Linksys SRW2048 switch.Here are the steps:

1. I connected the DB9 end on the back of the Switch

2. At the RJ45 end, i had to make get a RJ45 to DB9 adapter (one end looks like a std RJ45 connection, there other is a DB(Female).

3. The adapater need to have the pinout connected, so essentially i did:

1 <=> 1
2 <=> 2
2 <=> 2
3 <=> 3
4 <=> 4
5 <=> 5
6 <=> 6
7 <=> 7
8 <=> 8

remembering the cisco cable already has the "twist" on it.

4. using putty, I applied,
Speed = 38400
Data bit = 8
Stop Bit = 1
Parity = None
Flow Control = None

When I try to connect i see nothing

any ideas?


Ian Salgado

Rivald said...

Interesting question. I haven't touched a linksys in a while. It's really configured for 38400 baud and not 9600?