如果忘記了華為交換機console的密碼可采取如下操作恢復(fù):
1、重啟交換機在出現(xiàn)Press Ctrl+B to Enter Boot Menu...時按下Ctrl+B 進入Bootrom菜單,鍵入密碼7800;
2,進入Bootrom主菜單,如下
MAIN MENU
1. Boot with default mode
2. Boot from Flash
3. Boot from CFCard
4. Enter serial submenu
5. Enter ethernet submenu
6. Modify Flash description area
7. Modify bootrom password
8. Reboot
3、按下Ctrl+Z進入隱含菜單,如下:
HIDDEN MENU
1. Enter debugging environment
2. Erase Flash 3. List files in Flash
4. Delete file from Flash 5. Format Flash
6. List files in CFCard 7. Delete file from CFCard
8. Rename file in CFCard 9. Fdisk CFCard
10. Format CFCard 11. Chkdsk CFCard
12. Upgrade small bootrom from ethernet
13. Upgrade main bootrom from ethernet
14. Modify ethernet interface parameter
15. Upgrade CPLD logic from booting file
16. Upgrade CPLD logic from flash
17. Upgrade FPGA logic from booting file
18. Upgrade FPGA logic from flash
19. Restore the default Flags
20. Disable auto-booting with default mode
21. Disable Bootrom Password 22. Enable auto upgrade small bootrom
23. Disable auto upgrade main bootrom
24. Disable auto upgrade Cpld
25. Return to main menu
Enter your choice(1-25):
4、選擇8-Rename file in CFCard,把9300默認配置文件vrpcfg.zip改為其他名稱,例如為vrptest;
5、重啟后進入較交換機,此時交換機為出廠的默認配置;
6、把改名后的文件vrptest解壓縮為vrpcfg.bat
7、執(zhí)行execute命令,把原有的配置調(diào)用出來,在此基礎(chǔ)上可把console的密碼去掉。
Enter system view, return user view with Ctrl+Z.
[Quidway]exec
[Quidway]execute vrpcfg.bat
[Quidway]user-inter console 0
[Quidway-ui-console0]undo auth
8、保存配置為vrpcfg.zip
The current configuration will be written to the device. Continue? [Y/N]:y
Info: Please input the file name(*.cfg,*.zip)[vrpcfg.zip]:
Jun 25 2010 11:41:59 Quidway %%01CFM/4/SAVE(l): The user chose Y when deciding w
hether to save the configuration to the device. vrpcfg.zip -----這里要輸入正確的9300默認配置文件名稱 vrpcfg.zip
9、重啟交換機后,console密碼被刪除,同時原有的業(yè)務(wù)配置不丟失。
聯(lián)系電話
微信掃一掃