본문 바로가기
Network

[Network] HP Switch Factory reset

by 치즈잼 2024. 8. 28.
728x90
HP 스위치의 공장 초기화 방법에 대해 정리해 보았습니다.

장비 : HP 5130-24G

 

CLI 

<HP>system-view
System View : return to User View with Ctrl+Z.
[HP] undo password-recovery enable
The command will disable the password recovery function. Continue? [Y/N]:y
[HP] quit
<HP> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the cureent configuration to mainboard device successfully.
<HP> reboot
Start to check configuration with next startup configuration file, please
wait........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...

----- reboot ------------

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

Password recovfery capability is disabled.

	EXTENDED BOOT MENU

1. Download image to flash
2. Select image to boot
3. Display all fiels 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+Y: Change Work Mode
Ctrl+C: Display Copyright

Enter your choice(0-8): 5
Because the possword recovery capability is disabled, this operation can cause
the configration files to be deleted, and the system will start up with
factory defaults. Are you sure to continue?[Y/N]:Y
Setting...Done.

 

 

요약

1. system-view

2. undo password-recovery enable

3. y

4. quit

5. save

6. y

7. Enter

8. reboot

9. y

10. 부팅 중 Ctrl+B

11. 5

12. y

13. 0 입력하여 재부팅

 

 

728x90