Skip to content

Instantly share code, notes, and snippets.

@gmassawe
Created May 13, 2018 19:18
Show Gist options
  • Save gmassawe/5947f1c9b2f2b63b538b6423d95b2879 to your computer and use it in GitHub Desktop.
Save gmassawe/5947f1c9b2f2b63b538b6423d95b2879 to your computer and use it in GitHub Desktop.
How to reset Cisco ASA`s configuration to factory default
How to clear an ASA`s configuration
====================================
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:
rommon #1>confreg 0x41
4. Reset the appliance with the boot command,
rommon #2>boot
5. You will then be presented with the ScreenOS CLI and the ASA having a completely clear config. Run the commands :
ciscoasa > en [when asked for password just press enter]
ciscoasa # conf t
ciscoasa (config)# config-register 0x01
ciscoasa (config)# copy run start
ciscoasa (config)# reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment