背景:华为路由器交换机系统丢失了,那么要怎么才能恢复呢,今天文章就介绍这种方法,供大家学习!
1、下载固件
确定好型号,官方找对应型号
华为企业网 https://e.huawei.com/cn/ (技术支持---产品支持---软件下载--找到设备型号--下载,需要权限,可以用设备的ESN提升权限,不懂的朋友,可以参考下公众号之前录制的 还在为华为华三企业级设备升级没有权限烦恼?教你如何提升权限)
2、准备好工具
定义密码、以及固件的路径,比如这里目录我直接放桌面,最终确定
Boot
Fail.....................Boot from another Area(Fail) End.
Boot
Fail...............................AutoSearch Begin.
!!!NOTE: Auto search
packet file and startup!!!
Auto search packet file
fail! Please set startup file.
Now boot from
flash:/AR150-S-V200R009C00SPC500.cc, please wait...
Open file FAIL!
Get file tail fail!
Boot
file[flash:/AR150-S-V200R009C00SPC500.cc] error or
not for this device!
Boot
Fail...............................AutoSearch(Fail) END.
Save load state
word...OK
Oct 25 2019, 14:14:44
Start Memory Test ?
('t' or 'T' is test):skip
Copying Data : Done
Uncompressing : Done
CS Config success
Initializing SMI Bus:OK
Init flash, please
wait......OK
USB2 Host Stack
Initialized.
USB Hub Driver
Initialized
USBD Wind River Systems, Inc. 562 Initialized
EHCI Controller found.
Waiting to attach to
USBD...Done.
#当看到提示设备镜像丢失的情况下,那么就启动不了了,必须灌入新固件才行
Press Ctrl+B to break auto startup ... 3
Enter
Password:************ //输入Bootrom密码
Default Password,Please
Set New Password.
#确认存储是好的
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter
your choice(1-7):5
File Menu
1. Flash file system
0. Return
Enter your choice(0-1):1
Flash file system MENU
1. List file in flash
2. Delete file in flash
3. Rename file in flash
4. Format Flash file system
5. Check Flash file system
0. Return
Enter your choice(0-5):1
Files of the device:
-rwxrwxrwx 1024 Nov 10 2021 07:31:34 Boot_LogFile
1 files found!
479838208 Byte total, 479772672 Byte free. //确认flash存储没问题
Flash file system MENU
1. List file in flash
2. Delete file in flash
3. Rename file in flash
4. Format Flash file system
5. Check Flash file system
0. Return
Enter
your choice(0-5):0
Enter your choice(0-5):0
File Menu
1. Flash file system
0. Return
Enter your choice(0-1):0
#网络参数调整
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter
your choice(1-7):3
Network Menu
1. Display parameter
2. Modify parameter
3. Save parameter
4. Download file
5. Upload file
0. Return
Enter
your choice(0-5):2
NOTE:
Ftp type define: 0(ftp), 1(tftp),
ENTER = no change; '.'
= clear;
Ftp
type : 0 //FTP类型
File
name :
AR150-S-V200R010C10SPC700.cc //定义镜像文件名
Ethernet ip address : 192.168.1.1 192.168.255.25 //设备本机IP
Ethernet
ip mask : ffffff00 //掩码默认,这个表示255.255.255.0
Gateway
ip address : //网关空
Ftp
host ip address : 192.168.1.2 192.168.255.22 //指定FTP的地址
Ftp
user : c02 a //FTP的用户名
Ftp
password : *********** //FTP的密码
Network Menu
1. Display parameter
2. Modify parameter
3. Save
parameter
4. Download file
5. Upload file
0. Return
Enter
your choice(0-5):3
保存参数以后,选择4,开始下载,然后下载到1(flash)就可以了,这里得说下PC与路由器接口的注意地方。
AR150系列设备的Ethernet 0/0/3,AR200系列设备的Ethernet 0/0/6,AR1200系列和AR2220设备主控板GE0/0/0,AR2240设备前面板GE0/0/2,AR3200系列设备主控板GE0/0/2)直接相连并保证两者能在同一网段内互通。
(一定要接在对应的口,否则不亮,其他型号可以查看官方文档)
下载完成后,按0返回
Enter your choice(0-5):0
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):1
Enter auto startup
Now boot from
flash:/AR150-S-V200R009C00SPC500.cc, please wait...
Open file FAIL!
Get file tail fail!
Boot
file[flash:/AR150-S-V200R009C00SPC500.cc] error or not for this device!
Save load state
word...OK!
Boot
Fail.....................Boot from Backup(Fail) End.
Boot
Fail.....................Boot from another Area Begin.
Save load state
word...OK!
Now boot from
flash:/AR150-S-V200R010C10SPC700.cc, please wait...
Check Bootrom version.
Check CPLD Version
#选择1启动后,它会先启动之前记录的发现没有,启动新的镜像。
这样就跟新的一样了,如果有备份配置的话,直接导入即可
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有