HPE
Recover a lost operator or manager password on HPE / Aruba ProCurve and ArubaOS-CX switches using the console and the password-reset boot option.
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.
HPE and Aruba switches allow a lost manager password to be cleared from the console by interrupting the boot and choosing the password-reset option. Two families exist and the steps differ slightly.
switch(config)# password managerwrite memory.admin with no password, then set a new one:switch(config)# user admin password