天天看點

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刷機軟體下載下傳連結。