Skip to content

Instantly share code, notes, and snippets.

@xXTheBrokerXx
Forked from gmassawe/asa.txt
Created April 30, 2025 22:03
Show Gist options
  • Save xXTheBrokerXx/f29942ec4440677e4d083a9f9fd92a35 to your computer and use it in GitHub Desktop.
Save xXTheBrokerXx/f29942ec4440677e4d083a9f9fd92a35 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