Cisco
Recover a lost enable password on Cisco 7200 VXR and 12000 GSR routers with the config-register bypass.
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.
Classic IOS platforms — the config-register bypass applies.
rommon 1 >.rommon 1 > confreg 0x2142rommon 2 > resetRouter> enableRouter# copy startup-config running-configRouter(config)# enable secret <new-password>Router(config)# config-register 0x2102Router# write memoryRouter# reloadOn 12000 series line-card-based chassis, recover on the route processor.