|
||
| KB | 0000572 | |
| Dated | 17/02/12 | |
| Revision | 0.01 | |
Cisco ASA - Password Recovery / Reset |
||
Problem |
||
You need to access a Cisco ASA device and do not have the passwords, there can be lots of reasons for this, lack of good documentation, bought a second hand firewall, the last firewall admin never told anyone etc. This method does require physical access to the ASA, a console cable, and a machine running some terminal emulation software. Note: This procedure is for Cisco ASA 5500 Firewalls, for Cisco PIX go here, and Cisco Catalyst go here. |
||
Solution |
||
Password Recovery / Reset Procedure for ASA 5500 FirewallsBelow is a run though on changing the Cisco ASA passwords (setting them to blank then changing them to something else). Basically you boot the ASA to its very basic shell operating system (ROMMON) then force it to reboot without loading its configuration. At this point you can load the config, without having to enter a password, manually change all the passwords, and finally set the ASA to boot properly again. Below I've used both HyperTerminal and Putty to do the same thing, you can use either, or another terminal emulation piece of software, the procedure is the same. 1. Connect to the the ASA via a console cable (settings 9600/8/None/1/None). 2. Reboot the ASA, and as it boots press Esc to interrupt the normal boot sequence and boot to ROMMON mode. Note: HyperTerminal does not send the Esc keystroke properly, if you use HyperTerminal you need to press CTRL+Break. 3. Execute the "confreg" command and take a note of the number that's listed (copy it to notepad to be on the safe side). 4. Answer the questions as follows (Note: Just pressing Enter will supply the default answer). Answer no to all apart from the TWO listed below: Do you wish to change this configuration? y/n [n]: Y <<< THIS ONE 5. You may notice, that the configuration register has changed, to boot the firewall execute the "boot" command. 6. This time when the ASA boots it will start with a {blank} enable password, you can load the normal config into memory with a "copy startup-config running-config" command. 7. Now you are in enable mode with the correct config loaded, you can change the passwords, and once completed, change the configuration register setting back with a config-register {paste in the number you saved earlier} command.
|
||
If this post helped you, PLEASE take the time to +1 it.
Please be aware, all information is provided free, but it does cost me to have this site hosted, if I've helped you in any way, or saved you some time/cost please take time to make a donation. If you have anything to add to an article, or have an article you would like us to publish please feel free to contact PeteNetLive. (Please be aware I get a LOT of email, I cannot assist and fix everyone's problems, please do not be offended if you do not get a response). |
||
| Related Articles, References, Credits, Or External Links | ||
| Connecting to and Managing Cisco Firewalls
Cisco PIX (500 Series) Password Recovery Factory Reset a Cisco ASA or Cisco PIX Firewall Cisco Catalyst Password Recovery / Reset |
||


















