Configure CISCO router using CLI and minicom
Submitted by Richard on Wed, 12/31/2008 - 04:13
I will assume that you are using GNU/Linux systems (Ubuntu,Debian, CentOS etc.) to configure your CISCO router using CLI.
Open your terminal and install minicom and setserial by typing this command in the terminal.
apt-get install minicom setserial
Check your serial port
dmesg | grep tty
The output should be like this:
[ 18.439952] console [tty0] enabled [ 20.172975] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 20.173725] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
set your serial port
setserial -g /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
Start minicom and configure using this command
minicom -s
The minicom configuration
+-----[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 |
+--------------------------+
Set your minicom configuration like this one
+-----------------------------------------------------------------------+
| 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? |
+-----------------------------------------------------------------------+
and save.
+-----[configuration]------+
| Filenames and paths | +-----------------------------------------+
| File transfer protocols | |Give name to save this configuration? |
| Serial port setup | |> cisco |
| Modem and dialing | +-----------------------------------------+
| Screen and keyboard |
| Save setup as dfl |
| Save setup as.. |
| Exit |
| Exit from Minicom |
+--------------------------+
You can configure your CISCO router now, to exit minicom press CTRL+A then release and press Q or X.
Next time if you want to configure your CISCO router using console, you can just type this command.
minicom cisco
Have fun!
Bookmark/Search this post with:


Delicious
Digg
StumbleUpon
Furl
Facebook
Twitter
Google
Yahoo
Buzz Up!
LinkedIn
Technorati



Comments
[...] [ 18.439952] console [tty0] enabled [ 20.172975] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A [ 20.173725] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A read more [...]
Cisco Systems is a multinational company that designs and sells networking communications and technologies. After 20 years of giving service to its subscribers, Cisco will offer another system called Tidal Software. The company paid $100 million to purchase that system. Recently they also acquired Pure Digital, the company that makes the Flip video recorder. This ties Cisco to something that some people actually care about. Well, to be fair, they also own Linksys, a company that makes very affordable and reliable wireless routers. This may mean fewer online cash advances for Tidal Software, as they are part of a huge tech empire.
Post new comment