Cisco
Step-by-step password recovery for the Cisco ASA5506H-X (ASA 5506-X / 5508-X / 5516-X). Console access required.
This guide provides step-by-step instructions for resetting lost or forgotten administrative passwords on enterprise networking hardware. Follow the procedure below carefully to regain access while preserving your device configuration.
Before proceeding with password recovery, ensure you have a console cable, terminal emulation software configured to 9600 baud, and physical access to the device.
Connect your terminal cable to the console port of the device and open your serial terminal session.
Power cycle the hardware and issue a Break key sequence during initial system startup to enter ROMMON mode.
Bypass startup configuration loading, boot into system software, set your new credentials, and save changes back to non-volatile memory.
This procedure recovers administrator access to the Cisco ASA 5506H-X. The ASA 5506-X, 5508-X, and 5516-X are the first ASA models with no break-to-ROMMON — they use the Esc key to reach the ROMMON prompt instead of Ctrl+Break. The startup configuration is bypassed via confreg 0x41 and restored afterwards.
Console cable (RJ-45 to DB-9 or USB) with a terminal session at 9600 baud, 8N1. Physical or remote power access to reboot the ASA.
reload).rommon #>. You must press Esc early — once the ASA OS (ASAOS) starts loading, it is too late and you must reboot and try again.confreg 0x41boot (or boot disk0:/asa<version>.bin if prompted).#).copy startup-config running-config.configure terminal.no enable password, then enable password <new-password>. Reset the login password if configured: password <new-password>.config-register 0x1.end, then write memory.reload. Confirm normal boot with the restored config and new passwords.config-register 0x1 (step 10) or the ASA will keep booting empty.no password-recovery is in the config, the bypass is blocked — only a config wipe remains possible.Before recovery, back up the config: copy running-config tftp://<server>/<filename>. After recovery, verify show running-config and show version (config register 0x1).