天天看点

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

同事配置交换机发现总报错,重启后无法启动,发现如下问题:

System is starting...Press Ctrl+D to access BASIC-BOOTWARE MENUBooting Normal Extend BootWareThe Extend BootWare is self-decompressing..................Done!*****************************************************************************                                                                                                           **                H3C S3110-10TP-SI BootWare, Version 1.07                           **                                                                                                                  *****************************************************************************Copyright (c) 2004-2013 Hangzhou H3C Technologies Co., Ltd.Compiled Date       : Sep 25 2013 14:52:32CPU Type            : MIPS4kecCPU L1 Cache        : 16KBCPU Clock Speed     : 500MHzMemory Type         : DDR3 SDRAMMemory Size         : 128MBMemory Speed        : 300MHzBootWare Size       : 3MBFlash Size          : 32MBBootWare Validating...Application program does not exist.BootWare password: Not required. Please press Enter to continue.Password recovery capability is enabled.Note: The current operating device is flashEnter < Storage Device Operation > to select device.============================================|<1> Boot System                                                                                  |<2> Enter Serial SubMenu                                                  |<3> Enter Ethernet SubMenu                                                |<4> File Control                                                          |<5> Restore to Factory Default Configuration                              |<6> Skip Current System Configuration                                    |<7> BootWare Operation Menu                                               |<8> Clear Super Password                                                  |<9> Storage Device Operation                                              |<0> Reboot                                                                ================================================================Ctrl+Z: Access EXTEND-ASSISTANT MENUCtrl+F: Format File SystemEnter your choice(0-9):
           

出现一个拓展菜单,让选择数字,可是不管选哪个,基本都会回到这个页面上。

查看配置文件:

============================================|<1> Boot System                                                           |<2> Enter Serial SubMenu                                                  |<3> Enter Ethernet SubMenu                                                |<4> File Control                                                          |<5> Restore to Factory Default Configuration                              |<6> Skip Current System Configuration                                     |<7> BootWare Operation Menu                                               |<8> Clear Super Password                                                  |<9> Storage Device Operation                                              |<0> Reboot                                                                ================================================================Ctrl+Z: Access EXTEND-ASSISTANT MENUCtrl+F: Format File SystemEnter your choice(0-9): 4         //文件控制=====================================================|Note:the operating device is flash                                        |<1> Display All File(s)                                                   |<2> Set Application File type                                            |<3> Set Configuration File type                                           |<4> Delete File                                                           |<0> Exit To Main Menu                                                     ================================================================Enter your choice(0-4): 1       //显示所有文件Display all file(s) in flash: 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED================================================================|NO. Size(B)   Time                 Type   Name                            =====================================================================================================================|Note:the operating device is flash                                        |<1> Display All File(s)                                                   |<2> Set Application File type                                             |<3> Set Configuration File type                                           |<4> Delete File                                                           |<0> Exit To Main Menu                                                     ================================================================Enter your choice(0-4): 4       //删除文件Deleting the file in flash: 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED================================================================|NO. Size(B)   Time                 Type   Name                            |No file in the current device!                                            ================================================================
           

发现,根本就没有配置文件可删除,没有任何配置文件,交换机根本无从启动。

只好刷机,从华三官网找对应的配置文件刷进交换机中,http://search.h3c.com/

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

下载配置文件:

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

先配置网络参数:

=====================================================|Note:the operating device is flash                                        |<1> Display All File(s)                                                   |<2> Set Application File type                                             |<3> Set Configuration File type                                           |<4> Delete File                                                           |<0> Exit To Main Menu                                                     ================================================================Enter your choice(0-4): 0           //回到主菜单============================================|<1> Boot System                                                           |<2> Enter Serial SubMenu                                                  |<3> Enter Ethernet SubMenu                                                |<4> File Control                                                          |<5> Restore to Factory Default Configuration                              |<6> Skip Current System Configuration                                     |<7> BootWare Operation Menu                                               |<8> Clear Super Password                                                  |<9> Storage Device Operation                                              |<0> Reboot                                                                ================================================================Ctrl+Z: Access EXTEND-ASSISTANT MENUCtrl+F: Format File SystemEnter your choice(0-9): 3          //进入网路子菜单==============================================|Note:the operating device is flash                                        |<1> Download Application Program To SDRAM And Run                         |<2> Update Main Application File                                          |<3> Update Backup Application File                                        |<4> Update Secure Application File                                        |<5> Modify Ethernet Parameter                                             |<0> Exit To Main Menu                                                     |                    ================================================================Enter your choice(0-5): 5          //修改网络参数============================================|Note:       '.' = Clear field.                                            |            '-' = Go to previous field.                                   |          Ctrl+D = Quit.                                                  ================================================================Protocol (FTP or TFTP) :tftp              //使用tftp协议Load File Name         :host                       :S3110_10TP_SI-CMW520-R1108.bin              //粘贴从官网下载的.bin配置文件名称Target File Name       :target                       :S3110_10TP_SI-CMW520-R1108.bin               //同上Server IP Address      :192.168.1.1                //设置tftp服务器地址Local IP Address       :192.168.1.253              //交换机地址Gateway IP Address     :0.0.0.0 
           

下载3CDaemon软件:

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

自行设置配置文件路径,将解压后的配置文件S3110_10TP_SI-CMW520-R1108.bin放到指定目录下:

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

电脑作为tftp服务器需要配置IP为192.168.1.1:

h3c交换机配置telnet_H3C交换机配置文件丢失刷机步骤

电脑网线直接连接交换机任意一个口,下面继续进行刷机操作:

=============================================|Note:the operating device is flash                                        |<1> Download Application Program To SDRAM And Run                         |<2> Update Main Application File                                          |<3> Update Backup Application File                                        |<4> Update Secure Application File                                        |<5> Modify Ethernet Parameter                                             |<0> Exit To Main Menu                                                     |                    ===============================================================Enter your choice(0-5): 2           //更新主配置文件Loading........................................................................................................................................................................................................................................................Done!12544000 bytes downloaded!Updating File flash:/S3110_10TP_SI-CMW520-R1108.bin........................Done!=============================================|Note:the operating device is flash                                        |<1> Download Application Program To SDRAM And Run                         |<2> Update Main Application File                                          |<3> Update Backup Application File                                        |<4> Update Secure Application File                                       |<5> Modify Ethernet Parameter                                             |<0> Exit To Main Menu                                                     |                    ================================================================Enter your choice(0-5): 0             //返回主菜单============================================|<1> Boot System                                                           |<2> Enter Serial SubMenu                                                  |<3> Enter Ethernet SubMenu                                                |<4> File Control                                                          |<5> Restore to Factory Default Configuration                              |<6> Skip Current System Configuration                                     |<7> BootWare Operation Menu                                               |<8> Clear Super Password                                                  |<9> Storage Device Operation                                              |<0> Reboot                                                                ================================================================Ctrl+Z: Access EXTEND-ASSISTANT MENUCtrl+F: Format File SystemEnter your choice(0-9): 1              //启动交换机Starting to get the main applicationfile--flash:/S3110_10TP_SI-CMW520-R1108.bin!.......................The main application file is self-decompressing..................................................................................................................................................................................................................................................................Done!Extend BootWare Version is not equal,updating? [Y/N]Updating Extend BootWare..........Done!Basic BootWare Version is not equal,updating? [Y/N]Updating Basic BootWare..........Done!BootWare updated,System is rebooting now.System is starting...Press Ctrl+D to access BASIC-BOOTWARE MENUBooting Normal Extend BootWareThe Extend BootWare is self-decompressing..........................Done!*****************************************************************************                                                                                                                  **                H3C S3110-10TP-SI BootWare, Version 1.22                           *     //发现版本已经升级成1.22*                                                                                                                  *****************************************************************************Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.Compiled Date       : Apr 14 2017 15:05:19CPU Type            : MIPS4kecCPU L1 Cache        : 16KBCPU Clock Speed     : 500MHzMemory Type         : DDR3 SDRAMMemory Size         : 128MBMemory Speed        : 300MHzBootWare Size       : 3MBFlash Size          : 32MBBootWare Validating...Normal Basic BootWare Version is newer than Backup Basic BootWare!Begin to Update the Backup Basic BootWare............Done!Normal Extend BootWare Version is newer than Backup Extend BootWare!Begin to Update the Backup Extend BootWare..........Done!Press Ctrl+B to enter extended boot menu...Starting to get the main applicationfile--flash:/S3110_10TP_SI-CMW520-R1108.bin!...............................................................................................The main application file is self-decompressing.....................................................................................................................................................................................................................................................................................................................Done!System application is starting...Configuration file is skipped.User interface aux0 is available.Press ENTER to get started.                   //至此,大功告成!#Apr 26 12:00:38:837 2000 H3C SHELL/4/LOGIN:  Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console%Apr 26 12:00:38:977 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
           

交换机刷机完毕,可以正常使用了!如果还不行,再返厂维修也不迟。

回复关键词:“3CD” 获取3CDaemon刷机软件下载链接。