这一篇来讲讲实际中容易出现的一个问题,就是如果设备的系统由于某些原因丢失了,这个时候怎么恢复。
1、下载固件
确定好型号,官方找对应型号
华三企业网 https://www.h3c.com/cn/ (支持---文档与软件---软件下载---找到设备型号---下载,帐号权限需要注册一个绑定SN
2、准备好工具
-
设备与PC要直连
-
解压固件包(华为不需要解压),放到桌面或者指定文件夹
-
准备TFTP/FTP软件,建议3CDaemon,支持FTP,设置好固件路径
-
关闭个人防火墙
定义密码、以及固件的路径,比如这里目录我直接放桌面,最终确定
3、华三设备恢复
Password recovery
capability is enabled.
Note: The current
operating device is flash
Enter < Storage
Device Operation > to select device.
#检查存储是否损坏
==========================<EXTENDED-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> Skip
Authentication for Console Login |
|<9> Storage
Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTENDED
ASSISTANT MENU
Ctrl+F: Format File
System
Ctrl+C: Display
Copyright
Enter
your choice(0-9): 4
===============================<File
CONTROL>===============================
|Note:the operating
device is flash |
|<1> Display All
File(s) |
|<2> Set Image
File type |
|<3> Set Bin File
type |
|<4> Set
Configuration File type |
|<5> Delete
File |
|<6> Copy
File |
|<0> Exit To Main
Menu |
============================================================================
Enter
your choice(0-6): 1
Display all file(s) in
flash:
'M' = MAIN 'B' = BACKUP 'N/A' = NOT
ASSIGNED
============================================================================
|NO. Size(B) Time Type Name |
|1 3667 Jan/01/2011 13:15:08 N/A flash:/logfile/logfile4.log |
============================================================================
#这里有显示,说明存储还是好的, 这个时候可以灌入镜像固件了
===============================<File
CONTROL>===============================
|Note:the operating
device is flash |
|<1> Display All
File(s) |
|<2> Set Image
File type |
|<3> Set Bin File
type |
|<4> Set
Configuration File type |
|<5> Delete
File |
|<6> Copy
File |
|<0> Exit To Main
Menu |
============================================================================
Enter
your choice(0-6): 0
#开始灌入镜像,选择3(以太网传输)
==========================<EXTENDED-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> Skip
Authentication for Console Login |
|<9> Storage
Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTENDED
ASSISTANT MENU
Ctrl+F: Format File
System
Ctrl+C: Display
Copyright
Enter
your choice(0-9): 3
#开始灌入镜像,选择5(修改参数)
==========================<Enter
Ethernet SubMenu>==========================
|Note:the operating
device is flash |
|<1> Download
Image Program To SDRAM And Run
|<2> Update Main
Image File |
|<3> Update
Backup Image File |
|<4> Download
Files(*.*) |
|<5> Modify Ethernet Parameter |
|<0> Exit To Main
Menu |
|<Ensure The
Parameter Be Modified Before Downloading!> |
============================================================================
Enter
your choice(0-5): 5
-
比如用FTP还是TFTP传文件,这里选择的是TFTP,然后文件名复制全称(包括后缀名)
-
Server ip address,这个写的是TFTP/FTP的服务器地址
-
那么在实际中,路由器设备,把电脑接0口,交换机设备则可以接任意的接口(如果交换机设备带管理口的情况下,建议接管理口尝试,如果不行在接业务口)
-
Local ip address写的是设备本机的
-
掩码写255.255.255.0即可,网关写不写都可以,都是电脑直连到设备。
输入2就可以灌入镜像了,这个过程需要等待下。
这个时候就传完了
==========================<Enter
Ethernet SubMenu>==========================
|Note:the operating
device is flash |
|<1> Download
Image Program To SDRAM And Run |
|<2> Update Main
Image File |
|<3> Update
Backup Image File |
|<4> Download
Files(*.*) |
|<5> Modify
Ethernet Parameter |
|<0> Exit To Main Menu |
|<Ensure The
Parameter Be Modified Before Downloading!> |
============================================================================
Enter your choice(0-5):0
==========================<EXTENDED-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> Skip
Authentication for Console Login |
|<9> Storage
Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTENDED
ASSISTANT MENU
Ctrl+F: Format File
System
Ctrl+C: Display
Copyright
Enter your choice(0-9):1
Loading the main image
files...
Loading file
flash:/msr3600-cmw710-system-r0821p16.bin......................
.............
#到这设备就启动完成了
如果配置之前有备份,可以参考54篇的内容导入恢复即可