short version:
---------------------------------------------------------------------------------
- poweroff the switch + power on again
- then press <CTRL> + <B>
- choose: 7. Skip current system configuration
- The switch boots now with default configuration >> user admin and no password


long version with sample:
---------------------------------------------------------------------------------

Starting......
Press Ctrl+D to access BASIC BOOT MENU

********************************************************************************
* *
* HPE 5130-48G-PoE+-4SFP+ (370W) EI Switch BOOTROM, Version 147 *
* *
********************************************************************************
Copyright (c) 2010-2017 Hewlett Packard Enterprise Development LP

Creation Date : Apr 5 2017, 12:55:45
CPU Clock Speed : 1000MHz
Memory Size : 1024MB
Flash Size : 512MB
CPLD Version : 002
PCB Version : Ver.B
Mac Address : abcdeeeffaa


Press Ctrl+B to access EXTENDED BOOT MENU...0

Password recovery capability is enabled.

EXTENDED BOOT MENU

1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
0. Reboot
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright




Enter your choice(0-8): 7
The current setting will run with current configuration file when reboot.
Are you sure you want to skip current configuration file when reboot? Yes or No
(Y/N):Y

>> The switch boots now with default configuration >> user admin and no password




--------------------------

links to know:
https://community.hpe.com/t5/comware-based/recover-admin-password-or-reset-to-factory-default/td-p/2314964

-----------------

computer2know :: thank you for your visit :: have a nice day :: © 2024