重新刷一个固件
https://www.h3c.com/cn/Service/Document_Software/Software_Download/Router/Catalog/IP-RAN/RA100/?CHID=195597&v=612
含升级教程。
(0)
(1) 在命令行配置界面的任意视图下,执行save命令保存路由器当前配置信息:
<Sysname>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行dir命令查看路由器当前的文件系统,确认启动文件及配置文件名,以及Flash的剩余空间,保证Flash有足够空间放入新的启动文件:
<Sysname>dir
Directory of flash:
0 drw- - Aug 15 2012 12:03:13 diagfile
1 -rw- 84 Aug 15 2012 12:17:59 ifindex.dat
2 drw- - Aug 15 2012 12:03:14 license
3 drw- - Aug 15 2012 12:03:13 logfile
4 -rw- 11418624 Dec 15 2011 09:00:00 ra100-cmw710-boot-a020302.bin
5 -rw- 24067072 Dec 15 2011 09:00:00 ra100-cmw710-system-a020302.bin
6 drw- - Aug 15 2012 12:03:13 seclog
7 -rw- 1632 Aug 15 2012 12:18:00 startup.cfg
8 -rw- 25992 Aug 15 2012 12:18:00 startup.mdb
262144 KB total (110640 KB free)
<Sysname>
Flash剩余存储空间约为108 MB(110640 KB)。
用户可以将路由器做为客户端,通过TFTP、FTP、SFTP协议,将升级软件包下载到路由器的存储介质上:
1. 使用TFTP协议
在命令行配置界面的用户视图下,执行tftp命令将启动文件ra100.ipe导入到路由器的Flash中:
<Sysname>tftp 192.168.1.100 get ra100.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 66.4M 100 66.4M 0 0 559k 0 0:02:05 0:02:05 --:--:-- 546k
<Sysname>
2. 使用FTP协议
路由器作为FTP Client,访问FTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 在FTP客户端视图下,执行get命令将启动文件ra100.ipe导入到路由器的Flash中:
ftp> get ra100.ipe
ra100.ipe already exists. Overwrite it? [Y/N]:y
227 Entering passive mode (192,168,1,100,5,20)
125 Using existing data connection
226 Closing data connection; File transfer successful.
37691392 bytes received in 17.7 seconds (2.03 Mbyte/s)
[ftp]
(2) 在FTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图:
[ftp]quit
221 Service closing control connection
<Sysname>
3. 使用SFTP协议
路由器作为SFTP Client,访问SFTP文件服务器的指定路径,完成启动文件的备份及升级操作,具体操作步骤如下:
(1) 在SFTP客户端视图下,执行get命令将启动文件msr26.ipe导入到路由器的Flash中:
<Sysname> sftp 192.168.1.100 source ip 192.168.1.212
Press CTRL+C to abort.
Connected to 192.168.1.100 (192.168.1.100).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.1.100:(none)): abc
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
sftp-client> get ra100.ipe
227 Entering passive mode (192,168,1,100,5,20)
125 Using existing data connection
226 Closing data connection; File transfer successful.
37691392 bytes received in 17.7 seconds (2.03 Mbyte/s)
sftp-client>
(2) 在SFTP客户端视图下,执行quit命令,返回到命令行配置界面的用户视图:
sftp-client> quit
221 Service closing control connection
<Sysname>
(1) 在命令行配置界面的用户视图下,执行boot-loader命令设置路由器下次启动使用的启动文件为ra100.ipe,并指定启动文件类型为main:
<Sysname>boot-loader file flash:/ra100.ipe main
Images in IPE:
ra100-cmw710-boot-a020302.bin
ra100-cmw710-system-a020302.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to the device.
Successfully copied flash:/ra100-cmw710-boot-a020302.bin to flash:/ra100-cmw710-boot-a020302.bin.
Successfully copied flash:/ra100-cmw710-system-a020302.bin to flash:/ra100-cmw710-system-a020302.bin.
The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.
<Sysname>
(2) 在命令行配置界面的用户视图下,执行display boot-loader命令查看设备的启动程序文件信息:
<Sysname> display boot-loader
Software images on the device:
Current software images:
flash:/ra100-cmw710-boot-a020301.bin
flash:/ra100-cmw710-system-a020301.bin
Main startup software images:
flash:/ra100-cmw710-boot-a020302.bin
flash:/ra100-cmw710-system-a020302.bin
Backup startup software images:
None
<Sysname>
如上显示信息中,下一次启动的程序文件已经设置为:
· ra100-cmw710-boot-a020302.bin
· ra100-cmw710-system-a020302.bin
(1) 在命令行配置界面的用户视图下,执行reboot命令重启路由器:
<Sysname>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
<Sysname>
System is starting...
(2) 路由器重启后,通过display version命令查看路由器的启动文件版本信息是否与升级的启动文件一致。
<Sysname> display version
H3C Comware Software, Version 7.1.054, Alpha 020302
Copyright (c) 2004-2014 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C RA100 uptime is 0 weeks, 0 days, 1 hour, 18 minutes
Last reboot reason : Power on
Boot image: flash:/ra100-cmw710-boot-a020302.bin
Boot image version: 7.1.054P01, Alpha 020302
Compiled Jun 18 2014 15:55:01
System image: flash:/ra100-cmw710-system-a020302.bin
System image version: 7.1.054, Alpha 020302
Compiled Jun 18 2014 15:55:01
CPU ID: 0xb
2G bytes DDR3 SDRAM Memory
8M bytes Flash Memory
PCB Version: 2.0
CPLD Version: 1.0
Basic BootWare Version: 1.01
Extended BootWare Version: 1.01
[SUBSLOT 0]CON (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SUBSLOT 0]MGE0 (Hardware)2.0, (Driver)1.0, (CPLD)1.0
[SUBSLOT 0]16GE (Hardware)2.0, (Driver)1.0, (CPLD)1.0
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论