1. Password Recovery preparation
A, PC
B. ASA configuration line
You need to connect the comport of the PC to the control interface of the ASA through the configuration line.
2. Password Recovery Program
First, we open the Super Terminal of the PC, and then start the ASA and quickly Press ESC or CTRL + BREAK to enter the Rommon state.
Rommon #0>
Then, run the confreg 0x41 command to modify the configuration register value.
Rommon #1> confreg 0x41
Update Config Register (0x41) in NVRAM...
After modification, You can restart and enter "boot" as follows.
Rommon #2> boot
The enable password is blank after the ASA is successfully started.
Enter the following enable.
Ciscoasa> enable
Press enter in this step. The ASA password is empty. As follows:
Password: the Password is empty. Press enter.
Run the following command ..
Ciscoasa # copy startup-config running-config
Ciscoasa # configure terminal
Then set the new password: The following three commands: Note: the password and user name are all cisco1234
Ciscoasa (config) # password cisco1234
Ciscoasa (config) # enable password cisco1234
Ciscoasa (config) # username cisco1234 password cisco1234
Then, you must modify the value of the original configuration register. The command is as follows.
Ciscoasa (config) # config-register 0x11
The configuration file must be saved. Remember, otherwise the new password is invalid. The command is as follows.
Ciscoasa (config) # copy running-config startup-config
Then it's OK. You don't need to restart it. If you want to restart it, you can also. Haha.