In this example, we will be using Debian and putty to connect to a Cisco Catalyst 3850 using the USB to Serial cable for console access.

If you don’t already have Putty installed, use the sudo apt install putty command to install it.

Plug in a USB cable from your computer/laptop to the Cisco switch, then wait a minute and execute the sudo dmesg | grep tty command.

Look at the output which will display the TTY port name, most likely ttyACM0.

Next, run the sudo putty command to open the Putty console.

In the session screen, change the connection type to serial. Change the serial line name to /dev/ACM0 or whatever the tty USB port name showed when you grepped it.

In the connection –> serial dialog box, set the following parameters:

serial line: it should be /dev/ttyACM0 (or the name of your USB serial port)

speed: 9600 baud

data bits: 8

stop bits: 1

parity: none

flow control: none

 

Click on the open button go access the serial console.

2 comments

  1. Den Duffy

    Reply

    Hi Miguel. I needed to connect a laptop USB type-A port to a Cisco Catalyst 2960G switch RJ-45 console port. The laptop is running Xubuntu 22.04.5 LTS. I used a third-party cable bought on eBay that works fine in Win 10 Pro using Putty. For Linux I had instructions from Cisco published 2009 which required installing “screen” on the laptop. Could not get to work. Did a Duck-Duck-Go search for a solution. I found several, but your instructions were BY FAR the best I found: Clearly written, simple, and they worked. Great job Miguel, thank you!

Leave a comment

Your email address will not be published. Required fields are marked *

error: Sorry, copy/paste is disabled
Skip to content