最近買了HPE的switch,然後在設定時設定錯了,造成登入後沒權限做任何設定的調整,只能做設定的重置。
但現在的switch已沒有實體的reset鍵,只好透過官網提供的方式來reset。
首先,先重開switch,在重開的過程中會提示,可以按下Ctrl+B進入進階的開機選單中
進到進階開機選單後,就先選7,這是讓你下次重開機後,會跳過原本的設定檔,就像新機一樣,這時就可以重新建立一個新的帳號,給他最高的權限,然後存檔覆蓋原本的設定檔,再重開機,就可以用新建的帳號進去了。
下面是原廠提供的操作畫面,可以參一下。
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot
Enter your choice(0-9):
Enter 7 (Skip current system configuration) and restart the switch (opcion 0). The switch reboots with empty configuration, and can log in through the console port without entering the password to check the configuration file for the user password.
Enter your choice(0-9): 7
The current setting will boot with current configuration file when rebooted.
Are you sure you want to skip current configuration file when reboot? Yes or No [Y/N] y
Setting......done!
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot
Enter your choice(0-9): 0
Starting......
沒有留言:
張貼留言