Cisco IOS and the Console Port

One way to connect and configure a Cisco router or switch is through the console port.

Basically there is 3 steps when configuring a Cisco switch or router via the console port:

  1. Connect a console cable in identify the device.
  2. Configure terminal emulator (Minicon).
  3. Launch terminal emulator and log into router/switch.

Connect the Router/Switch using a RJ-45 to Serial Port Adapter cable.  (see below image with link to amazon)

Identify the device

After plugging in the serial adapter cable in to both the console port on the switch and the computer, you need to identify the device in the system.  In Linux you do this using the command dmesg | grep tty.

> dmesg | grep tty

[    0.212409] printk: console [tty0] enabled
[    6.532102] systemd[1]: Created slice Slice /system/getty.
[   74.335590] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB0

So the  Serial Device cable has been identified as ttyUSB0

Now configure Minicom to utilize the SDC

> sudo minicom -s

Make the following changes to the default configuration, then save and exit

  • Line speed: 9600
  • Hardware flow control: No
  • Serial device (The identified device from the first step): ttyUSB0

Now save, exit, and restart minicom with the following command:  sudo minicom

> sudo minicom

Welcome to minicom 2.7.1                                               
                                                                       
OPTIONS: I18n
Compiled on Jul 22 2021, 00:00:00.
Port /dev/ttyUSB0, 16:20:18

Press CTRL-A Z for help on special keys

CiscoCatalyst1000-1>login
Username: AdminUserName
Password: 
CiscoCatalyst1000-1#

Read more:

Cisco introduces new Catalyst 1000 Series of switches - Cisco Blogs
Save time, money, and headaches with proven technology from the company known for network innovation. Cisco Catalyst 1000 Series Switches provide simplicity, flexibility and security for 10 to 250 users.
Cisco Catalyst 1000-24FP-4G-L - switch - 24 ports - managed - rack-mountabl - C1000-24FP-4G-L - Ethernet Switches - CDW.com
Buy a Cisco Catalyst 1000-24FP-4G-L - switch - 24 ports - managed - rack-mountabl at CDW.com

Subscribe to Independent Computing

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe