Hallo,
This is not possible on an AOS-S switch. But all switches running AOS-S support deleting admin password and separately a factory default reset using the front-panel buttons.
The way I see the USB Stick procedure in AOS-CX, the goal of the USB file is to provide a proof of physical access which allows to skip the ServiceOS credentials if they are unknown and enter zeroize as username.
...a user with physical access to the switch front panel and a FAT32-formatted USB storage device may zeroize theswitch from the ServiceOS login prompt by entering the username zeroize and following the provided instructions:
ServiceOS login: zeroize
This will securely erase all customer data, including passwords, and
reset the switch to factory defaults.
This action requires proof of physical access via a USB drive.
* Create a FAT32 formatted USB drive
* Create a file in the root directory of the USB drive named zeroize.txt
* Type the following serial number into the zeroize.txt file: xxxxxxxxxx
* Insert the USB drive into the target module
* Confirm the following prompt to continue
Continue (y/n)?
So I think if someone can press the clear and reset button, this is a sufficient proof of physical access and USB is not needed.
Or am I overlooking other advantages of USB?
Original Message:
Sent: Jan 05, 2023 05:55 AM
From: Raffael Hotz
Subject: resetting swtich with USB-stick Aruba-OS
Hi guys, me again
I read something about resetting a switch with an usb-stick which has a special .txt file on it. But it only mentioned OS-CX. Is it also possible with Aruba-OS switches?
Thanks
Raffael