Cisco
Recover a lost enable password on Catalyst 4500/4500-X/6500/6800 modular switches using ROMMON and 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.
Catalyst 4500/6500/6800 modular switches use ROMMON and the standard IOS config-register bypass. On dual-supervisor chassis, recover on the supervisor you want to remain active.
rommon 1 >.rommon 1 > confreg 0x2142rommon 2 > resetSwitch> enableSwitch# copy startup-config running-configSwitch(config)# enable secret <new-password>Switch(config)# config-register 0x2102Switch(config)# endSwitch# write memorySwitch# reload