Those plugs are most likely (hard to tell from a picture) Cisco console cable plugs. They convert a DB-9 serial interface to a RJ45 receptacle , but NOT for use with a regular network cable. (They also exist in a DB-25 version.)
They are intended to use with a Cisco console cable (that has a RJ45 plug on 1 end and a DB-9 on the other) or a roll-over cable (RJ45 plug on both ends, but different pin-out than a network cable).

A Cisco console cable + a plug like yours connected to the other end make together a serial 3-wire null-modem cable.
A roll-over cable with 2 of these plugs (on each end) also makes a 3-wire null-modem cable.

That may be all you need. Provided that your lab-device needs a 3-wire null-modem cable, which is the most common case.
But some require a straight cable and in some (rare) cases you need a 5-wire null-modem (or straight) cable.

As modern computers, especially laptops, typically don't have a DB-9 serial port anymore, you may also need a USB to serial converter plug.

For short: There are a lot of variables here. Without more details about the devices involved and the exact nature of your plugs I can't get any more specific.

Answer from Tonny on Stack Exchange
🌐
NetworkTechInc
networktechinc.com › serial-rj45-adapters.html
Console Serial Port Adapters RJ45 Connectors, DB9M DB25 RJ45 Pins
Connect your serial devices with DB9 or DB25 connectors to RJ45 ports on the SERIMUX console switch using CAT5/5e/6 cable.
Call   330-562-7070
Address   1275 Danner Dr., 44202, Aurora
🌐
Amazon
amazon.com › Cable-Matters-Console-Compatible-Rollover › dp › B078PVJ5ZQ
Amazon.com: Cable Matters USB to RJ45 Console Cable (Compatible with Cisco Console Cable, Rollover Cord) with FTDI 6 Feet : Electronics
USB-C Cisco Console Cable,OIKWAN 6ft USB Type C to RJ45 Serial Adapter Essential Accessory of Cisco, NETGEAR, Ubiquity, LINKSYS, TP-Link Routers/Switches for Laptops
Discussions

Can you use an rj45 to rj45 rollover cable from the Cisco console port to a normal ethernet rj45 or do you ned a rj45 to serial adapter in a serial port for it to work
You are gonna need a DB9 to RJ45 console cable. And a USB to DB9 RS-232 serial adapter. More on reddit.com
🌐 r/Cisco
13
3
July 13, 2023
Pinout for serial cable with RJ45 on both sides?
Pinout for your terminal server is in section 3.2.5.3 here: http://www.thinklogical.com/sites/default/files/public/Manual_SCS%20Family_Rev_K_0.pdf More on reddit.com
🌐 r/networking
10
3
December 4, 2015
Better DB-9 to RJ-45 solutions?
Thankfully as time has passed, those have gotten a lot more standardized. It’s rare to find anything these days that isn’t the Cisco pinout. Most new stuff is just USB which is even better. But vendors who use USB connectors without putting USB on the port annoy the crap out of me. More on reddit.com
🌐 r/networking
33
4
August 27, 2023
USB- Serial cable and an RJ-45 to Serial cable for connecting to the console por
I am working on a DELL N1524 switch I dont have login info as well IP so I want to reset it. I have a USB- Serial cable and an RJ-45 to Serial cable for connecting to the console port on the switch. When I launched Putty, it did not detect the switch. Please help. More on community.spiceworks.com
🌐 community.spiceworks.com
1
7
April 17, 2023
Top answer
1 of 3
6

Those plugs are most likely (hard to tell from a picture) Cisco console cable plugs. They convert a DB-9 serial interface to a RJ45 receptacle , but NOT for use with a regular network cable. (They also exist in a DB-25 version.)
They are intended to use with a Cisco console cable (that has a RJ45 plug on 1 end and a DB-9 on the other) or a roll-over cable (RJ45 plug on both ends, but different pin-out than a network cable).

A Cisco console cable + a plug like yours connected to the other end make together a serial 3-wire null-modem cable.
A roll-over cable with 2 of these plugs (on each end) also makes a 3-wire null-modem cable.

That may be all you need. Provided that your lab-device needs a 3-wire null-modem cable, which is the most common case.
But some require a straight cable and in some (rare) cases you need a 5-wire null-modem (or straight) cable.

As modern computers, especially laptops, typically don't have a DB-9 serial port anymore, you may also need a USB to serial converter plug.

For short: There are a lot of variables here. Without more details about the devices involved and the exact nature of your plugs I can't get any more specific.

2 of 3
3

As Tonny wrote, that adapter is most likely a Cisco RJ45-to-DB9 converter, which is a purely passive adapter. The RJ45 side is not Ethernet, it's just RS232 on a different type of connector (Cisco devices used to have console ports with an RJ45 connector rather than the more common DB9 or DB25 connectors).

If you have an RS232 port on your laptop, then you just need a cable. While this was extremely common a couple of decades ago, nowadays I believe it's quite rare to find a laptop with an RS232 port.

So what you need instead is more likely an RS232-to-USB (aka serial-to-USB) converter/adapter.

Once you have that, you should have a new character device for the serial port somewhere in /dev (details may vary, but probably some kind of /dev/tty-something).

If you just want to capture the data from the serial port to a file, you can just cat /dev/serial_port_device_name >filename.

If you need to change serial port settings you can use stty but beware that you must keep the port open while you do it, otherwise the settings will reverse to defaults right away.

If you want something more foolproof, you can probably write a short script using the language of your choice, or they may be additional tools to manage that.

Alternatively there are devices with serial ports and Ethernet connections (you would then usually use telnet or netcat to connect to the serial ports and capture the data), but these would be more expensive, and only useful if you need to capture data from a larger distance.

🌐
Eaton
tripplite.eaton.com › products catalog › network adapters › p44089ff
DB9 to RJ45 Modular Serial Adapter, RS-232 - Tripp Lite - Eaton
Recommended for creating customized connections with terminals, serial printers, modems, POS and other serial devices. Converts DB9 female connection to RJ45 female connection · Compatible with readily available Cat5e/6 patch cables
🌐
Juniper Networks
juniper.net › documentation › us › en › hardware › mx2020 › srx4600 › topics › concept › port-rj45-db9-adapter-pinout.html
RJ-45 to DB-9 Serial Port Adapter Pinout Information | Juniper Networks
The console port on a Juniper Networks ... connector pin and you want to connect your laptop or desktop PC to the device, use a combination of the RJ-45 to DB-9 socket adapter along with a USB to DB-9 plug adapter....
🌐
Westward Sales
westwardsales.com › home › antaira › cb-rj45-db9m serial cable, rj45 to db9 male, 30/90 cm length
CB-RJ45-DB9M Serial Cable, RJ45 to DB9 Male, 30/90 cm Length
CB-RJ45-DB9M Serial Cable, RJ45 to DB9 Male, 30/90 cm Length
CB-RJ45-DB9M RJ45 to DB9 Male Serial Cable, 30/90 cm The CB-RJ45-DB9M is a serial straight-through cable that converts an RJ45 to a DB9 (male) connector. It is 30 or 90 cm (11.8 or 35.4 inches) in length.  The cable is constructed from UTP CAT5e with 24 AWG gauge wires.  The molded DB9 features locking screws for a secure, stable connection. The CB-RJ45-DB9F is an optional cable accessory for the Antaira STE-708 and STE-716 industrial Serial-to-Ethernet device servers.
Price   $11.00
Find elsewhere
🌐
The Home Depot
homedepot.com › p › Lukyamzn-Essential-12-ft-USB-to-RJ45-Serial-Console-Cable-Blue-for-Cisco-Routers-AP-Router-Switch-Windows-Mac-Linux-PH00327B034 › 332849927
Lukyamzn Essential 12 ft. USB to RJ45 Serial Console Cable Blue for Cisco Routers/AP Router/Switch Windows, Mac, Linux PH00327B034 - The Home Depot
Lukyamzn Essential 12 ft. USB to RJ45 Serial Console Cable Blue for Cisco Routers/AP Router/Switch Windows, Mac, Linux PH00327B034
The USB to RJ45 Console Cable is a 12FT essential tool for network engineers, perfect for configuring and debugging Cisco routers, switches, and other network devices. It replaces traditional RS232 COM ports with an easy plug-and-play solution, directly connecting your laptop or PC's USB port to the console port of Cisco and other brands like Juniper, NETGEAR, and TP-Link. Compatible with Windows, Mac, and Linux, this cable ensures a stable, reliable connection with no need for DB9 adapters.
Price   $60.16
🌐
Amazon
amazon.com › COOSO-Serial-Female-Ethernet-Console › dp › B01MF9F7HF
Amazon.com: LFHUKEJI RJ45 to RS232, DB9 9-Pin Serial Port Male to RJ45 Cat5 Ethernet LAN Console 3.3Ft : Electronics
DB9 RS232 male to RJ45 female console cable for TCP/IP network interface with the doual-way conversion, with the serial port network function, support serial data and network data bi-directional transparent transmission
🌐
Reddit
reddit.com › r/networking › pinout for serial cable with rj45 on both sides?
r/networking on Reddit: Pinout for serial cable with RJ45 on both sides?
December 4, 2015 -

We have a ThinkLogical Serial Console Server that I'm attempting to connect to some F5 Big IPs. Both devices have RJ45 jacks, and I'm trying to get them to talk to each other. The Big IPs came with TIA 568B to rollover adapters.

Connecting using RJ45 -> DB9 works just fine.

I've tried connections between the SCS and Big IPs with the following, in all permutations:

  • With and without the adapter. EDIT: Meaning with rollover and standard pinout ethernet cables.

  • DTE and DCE on the SCS.

  • Multiple baud rates on both sides.

Nothing has worked, so I can only conclude that the pinout is the problem. Does anyone know the correct pinout that I should be using? My google fu has failed me.

EDIT: Just in case someone finds this while searching for the same problem, here's the answer: my coworker accidentally used an F5 failover cable instead of standard ethernet. The failover cables have their own unique pinout, so they didn't work. The correct cable for this job is a standard rollover, or a standard ethernet cable with a rollover adapter (which is included with the Big IPs).

We also had to change our serial console server from DCE to DTE, turn off all flow control, and (obviously) match baud rates and parity on both sides. The Big IPs default is 19200 8N1.

🌐
Edaboard
edaboard.com › digital design and embedded programming › microcontrollers
how to make serial cable <-> RJ45 cable | Forum for Electronics
October 13, 2011 - Click to expand... Is it YOST communication is for? is below configuration is possible? PC < -- > DB9 < -- > RJ45 < -- > MAX232 < -- > mcu ... Hi, Yes. You can do this absolutely. There is readymade cable for DB9 to RJ-45 is available.
🌐
Coolgear
coolgear.com › home › shop › usb to serial rj45 cable for serial console ports
USB to Serial RJ45 Cable for Serial Console Ports - Coolgear
USB to Serial RJ45 Cable for Serial Console Ports
USB Console Cable for Network Consoles A combination of two cables make up this USB to Serial RJ45 console cable giving network engineers, technicians, and students a cleaner way of connecting to their data networking consoles. Works with Windows and Mac OS systems Supports RS232 protocol through the console connection Compatible with USB 2.0 and USB 1.1, Supports Data Transfer of up to 500Kbps. Easy and clean connection without bulky wires or plugs
Price   $27.99
🌐
Cable Tester
cable-tester.com › home › reference guide › cisco console cable (usb to rj45 serial rs232)
Cisco Console Cable (USB to RJ45 Serial RS232)
February 9, 2023 - The cable is typically an RS232 cable with a 9-pin serial connector (d-sub09) on one end and an RJ45 connector on the other end. The RJ-45 connector is used to connect to the console port on the Cisco device, while the RS232 connector is used ...
🌐
Reddit
reddit.com › r/networking › better db-9 to rj-45 solutions?
r/networking on Reddit: Better DB-9 to RJ-45 solutions?
August 27, 2023 -

Probably like many, I've got a stack of these DIY DB-9 to RJ-45 adapters for console access because every manufacturer is special and needs their own unique pinout to accomplish basic serial communication.... Worked well enough with my Toughbook CF-19, but need another serial extension cable to fit in the flush DB-9 ports on things like my Dell Latitude Rugged laptop and CF-20 tablet.

Cleaning/reorganizing my tool bag today, looking at these things, and curious if there's a better mousetrap out there? I know could just pick up a generic premolded RJ45 female to DB-9 adapter, then make custom CAT5 cables to match, but that would take up a lot more room in the tool bag too.

Would be great if someone made something similar to these custom adapters but with a molded DB-9 end, or maybe something like a RJ-45 coupler that could be repinned, so I wouldn't have to carry a bunch of bulky cables.

🌐
Amazon
amazon.com › Mendouconert-Console-Routers-Switches-Firewall › dp › B0D2R1LY22
Amazon.com: Mendouconert Micro USB to RJ45 RS232 Serial Console Cable for Routers Switches and Firewall : Electronics
Buy Mendouconert Micro USB to RJ45 RS232 Serial Console Cable for Routers Switches and Firewall: Cables & Interconnects - Amazon.com ✓ FREE DELIVERY possible on eligible purchases
🌐
Spiceworks
community.spiceworks.com › hardware & infrastructure › networking
USB- Serial cable and an RJ-45 to Serial cable for connecting to the console por - Networking - Spiceworks Community
April 17, 2023 - I am working on a DELL N1524 switch I dont have login info as well IP so I want to reset it. I have a USB- Serial cable and an RJ-45 to Serial cable for connecting to the console port on the switch. When I launched Put…
🌐
Reddit
reddit.com › r/networking › cisco rolled cable (rj-45 to serial adapter)
r/networking on Reddit: Cisco rolled cable (rj-45 to serial adapter)
October 29, 2016 -

I wasn't sure if ccent and/or ccna would have been a better place to answer this, I wanted to try here, first. I am familiar with a rolled cable, but I have always used the cable that comes with the equipment. I know that they are not compatible between vendors, for example, my HP console cable doesn't work when connected to a sonicwall. I have not cross tested each manufacturer, so there is no need to say that HP works with x, etc...

My question is specifically for cisco devices. If I create my own rolled cable (hypothetical situation, I know you can get them cheap and I have a handful already) can I use any type of rj-45 to serial adapter or is the pinout on the adapter not always what it needs to be (hopefully that makes sense)?

Let's say I bought this, would it work or are the pins not in the correct order from the rj-45 to serial portion? I know some of these devices come apart and you can set the pins however you want, but is there a specific order for the 232 side?

https://www.amazon.com/Tripp-Lite-Modular-Adapter-P450-000/dp/B0029L0V48/ref=sr_1_7?ie=UTF8&qid=1477754001&sr=8-7&keywords=rj45+to+serial

Thanks.