You may try to return to the factory default configuration from cpboot following these instructions.
High-level steps, in cpboot change setenv cfgfile=default.cfg; reboot; go through initialization wizard which saves a 'clean config'; in cpboot reset cfgfile: setenv cfgfile; reboot again; restore config or start from scratch.
From the original document, in case that document disappears or moves:
Connect to the serial console, boot/powercycle controller:
Hit any key to stop autoboot: 0
cpboot>
cpboot> printenv
No cfgfile entry should be there.
cpboot> setenv cfgfile default.cfg
cpboot> saveenv
Saving Enviroment to NVRAM...
cpboot> printenv
bootcmd=boot flash
bootdelay=2
baudrate=9600
filesize=167a784
stdin=serial
stdout=serial
stderr=serial
cfgfile=default.cfg
Environment size: 123/508 bytes
cpboot> reset
After the 'reset' command, the switch reboots and the start setup dialog is displayed. In this example, all defaults are accepted. Select the country code correctly, because it cannot be changed in the switch configuration. When setup dialog is complete, the switch reboots.
After switch restarts, stop the boot sequence and reset the 'cfgfile' parameter by issuing the 'setenv cfgfile' command. Save and verify the new boot parameter configuration.
Hit any key to stop autoboot: 0
cpboot>
cpboot> setenv cfgfile
cpboot> saveenv
Saving Enviroment to NVRAM...
cpboot> printenv
bootcmd=boot flash
bootdelay=2
baudrate=9600
filesize=167a784
stdin=serial
stdout=serial
stderr=serial
cpboot> reset
After the switch reboots, it comes back up with the 'defaulted' configuration. You can now restore the configuration either from an existing backup on flash or by configuring the switch for IP connectivity to a server where the backup is stored and copy the backed up file.
------------------------------
Herman Robers
------------------------
If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check
https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
------------------------------
Original Message:
Sent: Aug 14, 2024 05:43 AM
From: oden74
Subject: Password recovery AOS10 SD-Branch gateway?
Hi,
Is there any way to do a password recovery on an AOS10 SD-Branch gateway? I need to do a write erase on a gateway and I don´t have the credentials (old lab gear). I tried the password/forgetme! but that does not work. I am a bit unsure of the software release running on the gateway.
Regards
Anders