Cisco console port

From Ever changing code
Jump to navigation Jump to search

Linux console port serial connection

Install minicon

apt-get install minicom

Discover your serial com port, here it will be ttyS0

ubuntu@d600:~$ dmesg | grep tty
[    0.000000] console [tty0] enabled
[    0.408944] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[    0.513157] 00:0b: 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/ttyS0
 
Press CTRL-A Z for help on special keys
 
 
R1>
R1>en
R1#

Make sure that you see your Port /dev/tty## is pointing to correct device. 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