Description: to connect your computer to a Cisco device via its console port, you usually need a RJ45 rolled cable. You can use a RJ-45 to DB-9 Female if your computer has a serial port.


To communicate through the serial port with the device, you need Minicom, a terminal emulator software.


  • / based distros: sudo apt-get minicom
  • Red Hat/Fedora based distros: sudo install minicom


  1. Check whether your serial port is detected by the : dmesg | grep ttyS

    [ 0.485378] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    [ 0.485739] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  2. Run Minicom: sudo minicom
  3. Press Ctrl+A Z to enter Minicom’s menu.
  4. Press O to enter configuration submenu.
  5. Enter the serial port .
  6. Set the serial device (/dev/ttyS0 in this example).
  7. Press E to set the “Bps/Par/Bits”.
  8. Press C (9600 bps) and Q (8-N-1).
  9. Set software flow control to NO.
  10. Save the configuration as “cisco” (for example)
  11. Press Q to quit Minicom
  12. Run Minicom with the new configuration: sudo minicom cisco

Tip: if you need to send a “Break” through Minicom (on a recovery operation, for example), use Ctrl+A F .

Video from YouTube

Print Friendly



Bài viết liên quan