如果忘记了华为交换机console的密码可采取如下操作恢复:
1、重启交换机在出现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、执行execute命令,把原有的配置调用出来,在此基础上可把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密码被删除,同时原有的业务配置不丢失。
联系电话
微信扫一扫