Minicom

How to reset Cisco 2960 switch password without losing your configuration

To reset your Cisco 2960 password, connect your console cable to the switch and open up your terminal emulator software, you can use minicom if you are using Linux. Please visit this link on how to install and configure minicom using in Fedora/Red Hat/CentOS and this link if you are using Debian/Ubuntu.

How to reset Cisco 2960 switch to default settings

We can reset the Cisco 2960 settings by erasing its configuration files. To do it, connect your console cable to the switch and open up your terminal emulator software, you can use minicom if you are using Linux. Please visit this link on how to install and configure minicom in Fedora/Red Hat/CentOS and this link if you are using Debian/Ubuntu.

How to install minicom in Fedora 20 to configure Cisco switches and routers through the console port

This tutorial will also work on CentOS and other Red Hat-based distro, if you are looking for Debian or Ubuntu based tutorial, you can find it here.

To configure a Cisco switch or routers through console port using Fedora, you need to install a program called minicom. Minicom is a text-based menu-driven serial communication program for Linux. To install minicom, open up your terminal and run the below command as root.

yum -y install minicom

How to Reset Cisco 2600 Router to Factory Defaults

To reset your Cisco 2600 router, just follow the instructions from this link.

If you forgot your router's password (enable password, enable secret, console) you need to reset your router through ROMmon.

To access the ROMmon mode, start your minicom and reboot your router. Upon booting send the CTR+BREAK sequence by pressing CTRL-A F on your keyboard.

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)               
Copyright (c) 2003 by cisco Systems, Inc.                                           
C2600 platform with 98304 Kbytes of main memory

program load complete, entry point: 0x80008000, size: 0xacc0f0
Self decompressing the image : ########################
monitor: command "boot" aborted due to user interrupt
rommon 1 > 
rommon 1 > 

Then type this command to change the router's configuration register to 0x2142.

How to Erase Cisco 2600 Router Configuration

To erase your Cisco 2600 router configuration, type this command.

Router#erase startup-config

It will ask for confirmation. Press enter to confirm.

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete

Reload your routers configuration by typing this command:

How to install minicom in Debian or Ubuntu to configure Cisco switches and routers through the console port

I will assume that you are using Debian or Ubuntu Linux 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

or you can use the setserial command

Syndicate content