If you forgot your login credentials to your Aruba or HP Switch without doing the usual password-recovery steps. The easiest way is to reset the passwords by pressing the CLEAR button on the front panel for not less than 5 seconds, but not more than 15 seconds, of course you must have a physical access to the switch to do this.
While pressing it, you will notice the panel lights will blink as it reboots or your Console session will show rebooting logs and messages, and as soon as it completes the reboot, you will be logged on to switch without being ask for username and password. 🙂
This front-panel password clear feature is enabled by default to allow this way of resetting the password.
Some administrators would prefer to disable this function for security.
Disabling the password recovery process means that the only method for recovering from a lost manager username (if configured) and password is to reset the switch to its factory-default configuration, removing any non-default configuration settings.
You can disable this feature by using the following command:
Here are the other functions of the HPE Front Panel Security
Front-panel button functions
- Press and hold the Reset button.
- While holding the Reset button, press and hold the Clear button.
- Release the Reset button.
- When the Test LED to the right of the Clear button begins flashing, release the Clear button.