路由器网 - 让路由器设置变的简单易学!

192.168.1.1路由器设置 192.168.0.1无线路由器安装-路由器设置网

当前位置: 主页 > qq个性签名 >

H3C3100交换机误格式化怎么恢复?

时间:2013-10-11 10:35来源:未知 作者:admin 点击:
本人是h3c初学者,命令都是在真机上练习,昨天在教材上看到format flash:命令,就想实践一下,结果很杯具。但是独立解决问题的过程确使我受益匪浅,增长了不少见识。现将我的经验共享出来(老鸟不要见笑),希望对新人有所帮助。 由于好奇心,单位一台型号为
本人是h3c初学者,命令都是在真机上练习,昨天在教材上看到format flash:命令,就想实践一下,结果很杯具。但是独立解决问题的过程确使我受益匪浅,增长了不少见识。现将我的经验共享出来(老鸟不要见笑),希望对新人有所帮助。
       由于好奇心,单位一台型号为 H3C S3100-16TP-Si的交换机被我format了,结果不停地重新启动,并出现以下提示:
Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
No correct default file to boot!
Starting......(然后不停地重启)
系统文件好办,单位幸好还有一台3100交换机,备份下来不就ok了吗?说干就干,连接上好的3100交换机,输入命令:
<H3C>sys
#建立ftp服务器
[H3C]ftp server enable
[H3C]local-user admin
[H3C-luer-admin]service-type ftp
[H3C-luer-admin]password simple 123456
[H3C-luer-admin]quit
[H3C]int vlan 1
[H3C-InterfaceVlan1]ip address 192.168.1.1 24
[H3C-InterfaceVlan1]quit
#查询系统文件
[H3C]dir
   1       -rw-      3146  Jan 01 2004 00:00:00   config.def
   2 (*)   -rw-    856380  Jan 01 2004 00:00:00   h3c-http3.1.8-0041.web
   3 (*)   -rw-   3421398  May 05 2009 16:52:06   s31si_e-cmw310-r2108p04.bin
得到系统文件名:s31si_e-cmw310-r2108p04.bin。
        然后设置本地计算机ip地址为192.168.1.2 255.255.255.0 ,将计算机与交换机用直通网线连接起来,在计算机上运行cmd命令,在窗口中输入C:\Documents and Settings\user>ftp 192.168.1.1 计算机提示输入用户名和密码,输入后进入ftp。用ftp>get s31si_e-cmw310-r2108p04.bin命令得到系统文件,这个文件会保存到C:\Documents and Settings\user目录下。得到系统文件后,下一步就是要把它传输到被格式化的交换机上。
以下是具体步骤:
1.将本地计算机同被格式化的机器通过console口连接起来,启动超级终端,(设置:每秒位数9600  数据位8   奇偶校验无  停止位1  数据流控制无)。

2.将交换机上电,出现以下提示:
Starting......              
            ***********************************************************                                                      
               
            *                                                         *                                                      
               
            *           H3C S3100-16TP-SI BOOTROM, Version 555        *                                                      
               
            *                                                         *                                                      
               
            ***********************************************************                                                      

            Copyright(c) 2004-2009 Hangzhou H3C Technologies Co., Ltd.                                                        
              
            Creation date   : Apr 14 2009, 16:10:07                                                   
            CPU Clock Speed : 200MHz                                    
            BUS Clock Speed : 33MHz                                   
            Memory Size     : 64MB                                 
            Mac Address     : 3ce5a60d5f36                                          

Press Ctrl-B to enter Boot Menu... 3     
马上按Ctrl+B键,出现
Press Ctrl-B to enter Boot Menu... 0                                    
password: (这里直接按回车)
3.出现引导菜单
    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-3): 选1         
4.出现下一级菜单
1. Set TFTP protocol parameter                              
2. Set FTP protocol parameter                             
3. Set XMODEM protocol parameter                                
0. Return to boot menu                     
Enter your choice(0-3): 选3         
5.接着提示
Please select your download baudrate:                                    
1.* 9600        
2.  19200         
3.  38400         
4.  57600         
5.  115200         
0.  Return         
Enter your choice(0-5): 选1
6.提示
Download baudrate is 9600 bps                             
Please change the terminal's baudrate to 9600 bps and select XMODEM protocol                                                  
                          
Press enter key when ready   
按回车,出现以下字符:(这里提示一下,要按回车后,然后再发送文件,否则会出现“远程系统无反应”,我在这里费了好多事)
Now please start transfer file with XMODEM protocol                                                   
If you want to exit, Press <Ctrl+X>                                   
Loading ...CCCCCC
这时要选择超级终端上的“传送”菜单,再选“发送文件”,然后指定系统文件所在的本地路径,再点“发送”按钮。文件发送要等上一段漫
长的时间。。。。
等啊等,好了终于传完了,这时会出现提示:
Loading ...CCCCCCdone!                     
Please input a new file name  :   这里输入s31si_e-cmw310-r2108p04.bin
Free flash Space: 7410688 bytes                              
Writing flash...................................................................                                             
                                 
................................................................................                                             
                                 
.................................................................done!                                                        

The attribute of s31si_e-cmw310-r2108p04.bin keeps main attribute !                                                           

done!     
7.出现引导菜单
BOOT  MENU              
1. Download application file to flash                                    
2. Select application file to boot                                 
3. Display all files                  
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): 选2                        
Select application file to boot                              
1. Set application files                        
2. Set configuration files                          
3. Set web files               
0. Return         
Enter your choice(0-3): 选1                        
File Number    File Size(bytes)     File Name                                             
=============================================================================                                                
                           
1(*)           3421398              s31si_e-                                       
Free Space: 3988480 bytes                        
(*)-with main attribute                       
(b)-with backup attribute                        
(*b)-with both main and backup attribute                                       
Please input the file number to change: 选1                                         
Please input the file attribute (main/backup):  这里输入main                                                  
Do you want to run s31si_e-cmw310-r2108p04.bin now? Yes or No(Y/N) 这里输入y                                                  
                  
Decompress Image................................................................                                             
                                 
................................................................................                                             
                                 
............................................................................                                                  
                        
................................................................................                                             
                                 
................................OK!                                   
Starting at 0x80100000...                        

            Board checking........................LSN1LTSL                                                         
            SDRAM fast selftest........................OK!                     
            Flash fast selftest........................OK!
            Switch chip selftest.......................OK!
            Slot 1/1/1 has FIX_COMBO_PORT module
            Slot 1/2/1 has FIX_COMBO_PORT module
            PHY selftest...............................OK!
            Please check port leds...............FINISHED!

Startup configuration is skipped.
User interface aux0 is available.
好了到这里,交换机正常启动,出现了久违了的提示(好鸡动)
Press ENTER to get started.
<H3C>
%Apr  1 23:55:35:392 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login
<H3C>
<H3C>
<H3C>
<H3C>
<H3C>
到此结束!这就是我的一点心得,希望能对新人有所帮助。
  本文由路由器设置网www.luyouqiwang.net站长原创,转载请注明出处。
本人是h3c初学者,命令都是在真机上练习,昨天在教材上看到format flash:命令,就想实践一下,结果很杯具。但是独立解决问题的过程确使我受益匪浅,增长了不少见识。现将我的经验共享出来(老鸟不要见笑),希望对新人有所帮助。
       由于好奇心,单位一台型号为 H3C S3100-16TP-Si的交换机被我format了,结果不停地重新启动,并出现以下提示:
Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
No correct default file to boot!
Starting......(然后不停地重启)
系统文件好办,单位幸好还有一台3100交换机,备份下来不就ok了吗?说干就干,连接上好的3100交换机,输入命令:
<H3C>sys
#建立ftp服务器
[H3C]ftp server enable
[H3C]local-user admin
[H3C-luer-admin]service-type ftp
[H3C-luer-admin]password simple 123456
[H3C-luer-admin]quit
[H3C]int vlan 1
[H3C-InterfaceVlan1]ip address 192.168.1.1 24
[H3C-InterfaceVlan1]quit
#查询系统文件
[H3C]dir
   1       -rw-      3146  Jan 01 2004 00:00:00   config.def 内容来自luyouqiwang.net
   2 (*)   -rw-    856380  Jan 01 2004 00:00:00   h3c-http3.1.8-0041.web
   3 (*)   -rw-   3421398  May 05 2009 16:52:06   s31si_e-cmw310-r2108p04.bin
得到系统文件名:s31si_e-cmw310-r2108p04.bin。
        然后设置本地计算机ip地址为192.168.1.2 255.255.255.0 ,将计算机与交换机用直通网线连接起来,在计算机上运行cmd命令,在窗口中输入C:\Documents and Settings\user>ftp 192.168.1.1 计算机提示输入用户名和密码,输入后进入ftp。用ftp>get s31si_e-cmw310-r2108p04.bin命令得到系统文件,这个文件会保存到C:\Documents and Settings\user目录下。得到系统文件后,下一步就是要把它传输到被格式化的交换机上。
以下是具体步骤:
1.将本地计算机同被格式化的机器通过console口连接起来,启动超级终端,(设置:每秒位数9600  数据位8   奇偶校验无  停止位1  数据流控制无)。

2.将交换机上电,出现以下提示:

路由器网


Starting......              
            ***********************************************************                                                      
               
            *                                                         *                                                      
路由器网

               
            *           H3C S3100-16TP-SI BOOTROM, Version 555        *                                                      
               
            *                                                         *                                                      
本文来自luyouqiwang.net

               
            ***********************************************************                                                      

            Copyright(c) 2004-2009 Hangzhou H3C Technologies Co., Ltd.                                                        
              
            Creation date   : Apr 14 2009, 16:10:07                                                    内容来自luyouqiwang.net
            CPU Clock Speed : 200MHz                                    
            BUS Clock Speed : 33MHz                                   
            Memory Size     : 64MB                                 
            Mac Address     : 3ce5a60d5f36                                          

Press Ctrl-B to enter Boot Menu... 3     
本文来自luyouqiwang.net

马上按Ctrl+B键,出现
Press Ctrl-B to enter Boot Menu... 0                                    
password: (这里直接按回车)
3.出现引导菜单
    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                        

内容来自luyouqiwang.net


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-3): 选1         
4.出现下一级菜单
1. Set TFTP protocol parameter                               本文来自luyouqiwang.net
2. Set FTP protocol parameter                             
3. Set XMODEM protocol parameter                                
0. Return to boot menu                     
Enter your choice(0-3): 选3         
5.接着提示
Please select your download baudrate:                                    
1.* 9600        
2.  19200         
3.  38400         
4.  57600          路由器网
5.  115200         
0.  Return         
Enter your choice(0-5): 选1
6.提示
Download baudrate is 9600 bps                             
Please change the terminal's baudrate to 9600 bps and select XMODEM protocol                                                  
                          
Press enter key when ready   
按回车,出现以下字符:(这里提示一下,要按回车后,然后再发送文件,否则会出现“远程系统无反应”,我在这里费了好多事)
Now please start transfer file with XMODEM protocol                                                   

内容来自luyouqiwang.net


If you want to exit, Press <Ctrl+X>                                   
Loading ...CCCCCC
这时要选择超级终端上的“传送”菜单,再选“发送文件”,然后指定系统文件所在的本地路径,再点“发送”按钮。文件发送要等上一段漫
长的时间。。。。
等啊等,好了终于传完了,这时会出现提示:
Loading ...CCCCCCdone!                     
Please input a new file name  :   这里输入s31si_e-cmw310-r2108p04.bin
Free flash Space: 7410688 bytes                              
Writing flash...................................................................                                              本文来自luyouqiwang.net
                                 
................................................................................                                             
                                 
.................................................................done!                                                        

The attribute of s31si_e-cmw310-r2108p04.bin keeps main attribute !                                                            内容来自luyouqiwang.net

done!     
7.出现引导菜单
BOOT  MENU              
1. Download application file to flash                                    
2. Select application file to boot                                 
3. Display all files                  
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): 选2                        
Select application file to boot                              
1. Set application files                        
2. Set configuration files                           内容来自luyouqiwang.net
3. Set web files               
0. Return         
Enter your choice(0-3): 选1                        
File Number    File Size(bytes)     File Name                                             
=============================================================================                                                
                           
1(*)           3421398              s31si_e-                                       

内容来自luyouqiwang.net


Free Space: 3988480 bytes                        
(*)-with main attribute                       
(b)-with backup attribute                        
(*b)-with both main and backup attribute                                       
Please input the file number to change: 选1                                         
Please input the file attribute (main/backup):  这里输入main                                                  

本文来自luyouqiwang.net


Do you want to run s31si_e-cmw310-r2108p04.bin now? Yes or No(Y/N) 这里输入y                                                  
                  
Decompress Image................................................................                                             
                                 
................................................................................                                             
本文来自luyouqiwang.net

                                 
............................................................................                                                  
                        
................................................................................                                             
                                 
................................OK!                                   

路由器网


Starting at 0x80100000...                        

            Board checking........................LSN1LTSL                                                         
            SDRAM fast selftest........................OK!                     
            Flash fast selftest........................OK!
            Switch chip selftest.......................OK!
            Slot 1/1/1 has FIX_COMBO_PORT module
            Slot 1/2/1 has FIX_COMBO_PORT module 路由器网
            PHY selftest...............................OK!
            Please check port leds...............FINISHED!

Startup configuration is skipped.
User interface aux0 is available.
好了到这里,交换机正常启动,出现了久违了的提示(好鸡动)
Press ENTER to get started.
<H3C>
%Apr  1 23:55:35:392 2000 H3C SHELL/5/LOGIN:- 1 - Console(aux0) in unit1 login
<H3C>
<H3C>
<H3C>
<H3C>
<H3C>
到此结束!这就是我的一点心得,希望能对新人有所帮助。
  本文由路由器设置网www.luyouqiwang.net站长原创,转载请注明出处。
(责任编辑:jida2010)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
栏目推荐
推荐内容