Friday, November 5, 2010

How to clear an ASA`s configuration

You may find that there is a time in which you havent got access via the standard ASAOS CLI to change, amend or edit your current configuration.
In this example we will show you the steps required for removing the configuation via ROMMON mode.
Here are the steps :
1. Reboot the device

2. On boot hit `escape` so that you break the normal startup process and enter ROMMON.

3. Change the current confreg so that you can bypass the current startup config sing the command:
1.rommon #1>confreg 0x41
 
4. Reset the appliance with the boot command,
1.rommon #2>boot
 
5. You will then be presented with the ScreenOS CLI and the ASA having a completey clear config. Run the commands :

1.ciscoasa > en [when asked for password just press enter]
2.ciscoasa # conf t
3.ciscoasa (config)# config-register 0x01
4.ciscoasa (config)# copy run start
5.ciscoasa (config)# reload
 
6. Your ASA will now be rebooted and the device will be booted into a blank configuration.

No comments: