Cisco
Recover lost enable/line passwords on Cisco IOS and IOS-XE devices via the ROMMON break sequence or the mode-button boot menu.
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 guide covers password recovery for Cisco Ios Switch Router equipment. The correct procedure depends on the exact platform and operating system — the links below point to the model-specific guides in this library.
flash_init → rename config.text → boot at the switch: prompt.switch: prompt procedure.confreg 0x2142.delete bootflash:startup-config → reload (config erased).confreg 0x2142 → copy startup-config running-config.confreg 0x41 → restore config.connect local-mgmt → passwd admin.boot -s → passwd root.boot -s single-user or reset button.single kernel flag) → passwd admin.boot-without-config.passwd admin.passwd root + passwd admin.boot -s → passwd admin.Maintain current configuration backups for every device (TFTP/SCP/USB), keep console credentials documented in a password manager, and test recovery procedures on lab equipment before relying on them in production.