Posts tagged factory reset
Resetting a SG300 is rather easy. Hold reset pressed until after like 10 seconds all port leds flash.
Login afterards is
For factory resetting an 'Adaptive Security Appliance', some CLI work has to be done. In the following no prior configuration knowledge is assumed.
get a serial connection
Cisco switches are shipped with a blue female DB9-to-RJ45 adapter cable. (A null modem will not help here, as you need a RJ45 plug at the end which you connect to the ASA's CONSOLE port.)
Such a cable has to be connected to your ASA, and either your serial port of your comp. Since most desktops/laptops do not ship with an rs232 interface anymore, get yourself an male-male USB-to-DB9 adapter.
If you do not have the original cisco cable, use a comparable one: Juniper i.e. ships regular RJ45 ethernet cables plus an female-female RJ45-to-DB9 adapter which works just the same.
In the following a linux operating system is assumed; on windows this works, too.
However you have to plug in the adapter, and find out which COM port is used via the device manager, you need this information later when using
On linux you can either go along with
minicom, or just use
screen. (I have the slight feeling I have written down all this somewhere else already on the blog...)
#as root screen /dev/ttyUSB0 9600
... and you are connected. Cisco devices in general use 9600 baud, 8bit, 1 stop bit, no flow control. Once I read on official docs about 2 stop bits, but it worked with 1, so go figure it out from the manual if you have trouble with these settings.
step by step
power cycle - turn it off and on again, so it freshly boots after you have connected the serial cable
ESChere during boot:
Evaluating BIOS Options ... Launch BIOS Extension to setup ROMMON
Cisco Systems ROMMON Version (1.0(10)0) #0: Fri Mar 25 23:02:10 PST 2005
Use BREAK or ESC to interrupt boot. Use SPACE to begin boot immediately.
confirm current configuration register, if promted if you wish to change anything, answer with 'no':
rommon #0> confreg
Current Configuration Register: 0x00000001 Configuration Summary: boot default image from Flash
Do you wish to change this configuration? y/n [n]: n
after the appliance has rebooted, you should see this prompt:
enter privileged mode:
erase startup config:
enter config mode:
exit config mode:
show version, see the end: Configuration register is 0x41 (will be 0x1 at next reload)
Done. You now have a fresh ASA at your disposal.
Factory resetting for a 2960G switch is rather easy:
Hold the button on the front panel, after like 3 seconds blinking, most lights should turn off. Keep the button pressed, after seven to ten more seconds, all lights will flash. Then switch is factory-resetted and will reboot.
Booting can take a while. Afterwards you are prompted for the initial installation.
This can either be done while being connected via a serial line (see next post here), or by using a pc connected via ethernet cable. Set the interface to DHCP and you should be able to access the switch in your browser via 10.0.0.1 through the web interface.
View posts from 2017-03, 2017-02, 2017-01, 2016-12, 2016-11, 2016-10, 2016-09, 2016-08, 2016-07, 2016-06, 2016-05, 2016-04, 2016-03, 2016-02, 2016-01, 2015-12, 2015-11, 2015-10, 2015-09, 2015-08, 2015-07, 2015-06, 2015-05, 2015-04, 2015-03, 2015-02, 2015-01, 2014-12, 2014-11, 2014-10, 2014-09, 2014-08, 2014-07, 2014-06, 2014-05, 2014-04, 2014-03, 2014-01, 2013-12, 2013-11, 2013-10