78788909 发表于 2016-1-21 08:44:09

H3C交换机bin文件丢失后补救方案

首先下载官方的交换机bin文件:
        下载地址:http://www.h3c.com.cn/Service/Software_Download/
        下载相应的bin文件后,再下载一个TFTP上传工具:
        下载地址:
        然后配置下TFTP工具的上传目录即可;


第一步:开启交换机,进入Boot Menu菜单,删除bin.bak(由于空间不足)

===========================<EXTEND-BOOTWARE MENU>===========================
|<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 MENU
Ctrl+F: Format File System
Enter your choice(0-9): 4

第二步:然后 :

===============================<File CONTROL>===============================
|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                            |
|1   2832      Apr/26/2000 12:03:16 N/A    private-data.txt                |
|2   2610      Apr/26/2000 12:03:34 M      startup.cfg                     |
|3   1024831   Apr/27/2000 05:04:13 N/A    logfile/logfile.log             |
|4   151       Apr/26/2000 12:03:24 N/A    system.xml                      |
|5   12530688Aug/01/2000 12:13:11 N/A    ~/s5048pv2_ei-cmw520-r1106~001|
|6   12530688Aug/01/2000 12:13:19 N/A    ~/s5048pv2_ei-cmw520-r1106~002|
|7   4031      Aug/01/2000 12:13:30 N/A    ~/_startup_bak.cfg            |
|8   2610      Apr/26/2000 12:03:28 N/A    _startup_bak.cfg                |
============================================================================

===============================<File CONTROL>===============================
|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                            |
|1   2832      Apr/26/2000 12:03:16 N/A    private-data.txt                |
|2   2610      Apr/26/2000 12:03:34 M      startup.cfg                     |
|3   1024831   Apr/27/2000 05:04:13 N/A    logfile/logfile.log             |
|4   151       Apr/26/2000 12:03:24 N/A    system.xml                      |
|5   12530688Aug/01/2000 12:13:11 N/A    ~/s5048pv2_ei-cmw520-r1106~001|
|6   12530688Aug/01/2000 12:13:19 N/A    ~/s5048pv2_ei-cmw520-r1106~002|
|7   4031      Aug/01/2000 12:13:30 N/A    ~/_startup_bak.cfg            |
|8   2610      Apr/26/2000 12:03:28 N/A    _startup_bak.cfg                |
|0   Exit                                                                  |
============================================================================
Enter file No:6

第五步:配置IP

===========================<EXTEND-BOOTWARE MENU>===========================
|<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 MENU
Ctrl+F: Format File System
Enter your choice(0-9): 3

第六步:然后 :
==========================<Enter Ethernet SubMenu>==========================
|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                                                   |
|<Ensure The Parameter Be Modified Before Downloading!>                  |
============================================================================
Enter your choice(0-5): 5

第七步然后 :
==========================<ETHERNET PARAMETER SET>==========================
|Note:       '.' = Clear field.                                          |
|            '-' = Go to previous field.                                 |
|          Ctrl+D = Quit.                                                |
============================================================================
Protocol (FTP or TFTP) :tftp
Load File Name         :S5048PV2_EI-CMW520-R1107.bin
                     :
Target File Name       :target
                     :
Server IP Address      :192.168.2.1
Local IP Address       :192.168.2.2
Gateway IP Address   :0.0.0.0

第八步:然后 :
==========================<Enter Ethernet SubMenu>==========================
|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                                                   |
|<Ensure The Parameter Be Modified Before Downloading!>                  |
============================================================================
Enter your choice(0-5): 1

第九步:开始上传:

第十步:使用以下命令上传一份bin文件
<H3C>tftp 192.168.0.2 get S5048PV2_EI-CMW520-R1107.bin S5048PV2_EI-CMW520-R1107.bin

192.168.0.2为TFTP服务器地址,即PC地址

第十一步:使用以下命令写入boot启动文件:
<H3C>boot-loader file flash:/S5048PV2_EI-CMW520-R1107.bin slot 1 main

如有问题请直接回复即可!


bingyang87628 发表于 2016-1-21 10:24:27

想问一下,bin文件主要做什么用的?这是一个以某块单板名后缀的bin,还是一个文件夹?

78788909 发表于 2016-1-21 12:41:00

bingyang87628 发表于 2016-1-21 10:24
想问一下,bin文件主要做什么用的?这是一个以某块单板名后缀的bin,还是一个文件夹? ...

后缀。相当于安装包。

wx_B1ziIjbI 发表于 2018-5-11 16:06:27

123

wx_B1ziIjbI 发表于 2018-5-11 16:06:34

123
页: [1]
查看完整版本: H3C交换机bin文件丢失后补救方案