Connect to Cisco console port on linux

Linux console port serial connection

Install minicon

apt-get install minicom

Discover your serial com port, here it will be ttyS0

logger@syslog0050:~$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    1.030584] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A


setup minicon with -s switch

# minicom -s

           +-----[configuration]------+
           | Filenames and paths      |
           | File transfer protocols  |
           | Serial port setup        |
           | Modem and dialing        |
           | Screen and keyboard      |
           | Save setup as dfl        |
           | Save setup as..          |
           | Exit                     |
           | Exit from Minicom        |
           +--------------------------+

Choose Serial port setup and specify Cisco Defaults for Serial Connection like below:

   +-----------------------------------------------------------------------+
   | A -    Serial Device      : /dev/ttyS0                                |
   | B - Lockfile Location     : /var/lock                                 |
   | C -   Callin Program      :                                           |
   | D -  Callout Program      :                                           |
   | E -    Bps/Par/Bits       : 9600 8N1                                  |
   | F - Hardware Flow Control : Yes                                       |
   | G - Software Flow Control : No                                        |
   |                                                                       |
   |    Change which setting?                                              |
   +-----------------------------------------------------------------------+

come out of Serial port setup by pressing Esc then save configuration file:

           +-----[configuration]------+
           | Filen+-----------------------------------------+
           | File |Give name to save this configuration?    |
           | Seria|> cisco                                  |
           | Modem+-----------------------------------------+
           | Screen and keyboard      |
           | Save setup as dfl        |
           | Save setup as..          |
           | Exit                     |
           | Exit from Minicom        |
           +--------------------------+

Once saved, it will store the configuration in /etc/minicom/. To connect to your device, run minicom with config file name:

#minicom cisco

Welcome to minicom 2.4

OPTIONS: I18n
Compiled on Sep  5 2010, 08:31:32.
Port /dev/ttyUSB2

Press CTRL-A Z for help on special keys

R1>
R1>en
R1#

To Exit from minicom, Click Ctrl, A, Z then X.

Tetra Term VT

The motion receiving BEL character

Tera Term will sound the beep when the BEL character(ASCII $07) receives.

You can disable the beep sound for the BEL character by editing the Beep line in the [Tera Term] section of the setup file like the following:

Beep=off

Also, the terminal screen will flush instead of making the beep in the following configuration.

Beep=visual

Default:

Beep=on

Windows path: C:\Program Files (x86)\teraterm\TERATERM.INI