华为9306(9300系列)在不删除配置的情况下恢复密码

华为9306(9300系列)在不删除配置的情况下恢复密码  

 
 
1、重启交换机,ctrl+b进入bootrom菜单后,按CTRL+Z进入隐含菜单;
2、选择8-Rename file in CFCard,把9300默认配置文件vrpcfg.zip改为其他名称,例如为vrptest; 
3、回到主菜单按26,按1默认启动进入较交换机,此时交换机为出厂的默认配置; 
4、把改名后的文件vrptest解压缩为vrpcfg.bat  <Quidway>unzip vrptest vrpcfg.bat 
5、执行execute命令,把原有的配置调用出来,在此基础上可把console的密码去掉。 
<Quidway>sys                                                                     
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  

6、保存配置为vrpcfg.zip     
<Quidway>save                                            
 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  
 7、重启交换机后,console密码被删除,同时原有的业务配置不丢失。

你可能感兴趣的:(华为,9300)