H3C交換機bin檔案丟失後補救方案
首先下載官方的交換機bin檔案:
下載地址:http://www.h3c.com.cn/Service/Software_Download/
下載相應的bin檔案後,再下載一個TFTP上傳工具:
下載地址:http://download.csdn.net/detail/aiqixiao1015/9411807
然後配置下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 12530688 Aug/01/2000 12:13:11 N/A ~/s5048pv2_ei-cmw520-r1106~001 |
|6 12530688 Aug/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 12530688 Aug/01/2000 12:13:11 N/A ~/s5048pv2_ei-cmw520-r1106~001 |
|6 12530688 Aug/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
如有問題請直接回復即可!