设为首页收藏本站language 语言切换
查看: 2674|回复: 2
收起左侧

[分享] H3C设备通过BootRom FTP/TFTP升级系统方法

[复制链接]
 成长值: 63940
发表于 2019-1-24 10:15:24 | 显示全部楼层 |阅读模式


以MSR5040路由器、FTP/TFTP服务器主机直连为例
2.jpg
操作步骤:
1. 路由器上电自检
出现如下的信息:
InitDDR
........
system start booting......Version  2.11
Press CTRL+D to stop auto-boot
Booting Normal Extended BootRom
Decompressing...done!
Ensure the baudrate is set to 9600bps!Starting at 0xa00000...
      *******************************************************
      *                                                     *
      *         H3C MSR50-40 BOOTROM, Version 2.13          *
      *                                                     *
      *******************************************************
      Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
      Compiled date: Jul 31 2007, 14:05:28
      CPU type        : MPC8541
      CPU L1 Cache    : 32KB
      CPU L2 Cache    : 256KB
      CPU Clock Speed : 833MHz
      Memory Type     : DDR SDRAM
      Memory Size     : 512MB
      Memory Speed    : 333MHz
      BootRom Size    : 4096KB
      CPLD     Version is   2.00
      HardWare Version is   3.00
CF Card is Inserted, now is mounting...
cf:/  - Volume is OK      
Mount CF Card OK!
CF Card Size:256MB
Press Ctrl+B to enter extended boot menu...
此时键入<Ctrl+B>,系统将进入BOOTROM菜单。
&  说明:
必须在出现“Press Ctrl-B to enter Boot Menu...”的3秒钟之内,键入<Ctrl+B>,系统方可进入BOOTROM菜单;否则系统将进入程序解压过程。若进入程序解压过程后再希望进入BOOTROM菜单,则需要重新启动路由器。

2.进入Bootrom界面
用户键入<Ctrl+B>后,系统提示:
Please input Bootrom password:
此时需要用户要输入BootROM口令(路由器出厂时缺省没有BootROM口令,直接回车即可)。若用户已经修改过BootROM口令,应该输入正确的口令,若三次口令验证未通过,则系统中止。

3. 选择以太网口,进行配置升级
当用户输入了正确的BootROM口令,系统将出现如下提示信息:
===================<EXTEND-BOOTROM MENU>=====================
| <1> Boot From CF Card                                     |
| <2> Enter Serial SubMenu                                  |
| <3> Enter Ethernet SubMenu                                |
| <4> File Control                                          |
| <5> Modify Bootrom Password                               |
| <6> Ignore System Configuration                           |
| <7> Boot Rom Operation Menu                               |
| <8> Clear Super Password                                  |
| <9> Device Operation                                      |
| <a> Reboot                                                |
=============================================================
Enter your choice(1-a):3
选择3进入串口子菜单:  Enter  Ethernet  SubMenu
====================<ETHERNET SUB-MENU>======================
|Note:the operating device is CF Card                       |
| <1> Download Application Program To SDRAM And Run     |
| <2> Update Main Application File                          |
| <3> Update Backup Application File                        |
| <4> Update Secure Application File                        |
| <5> Change Ethernet Parameter                           |
| <6> Exit To Main Menu                                    |
| < Ensure The Parameter Be Modified Before Downloading! >  |
=============================================================
Enter your choice(1-6):5
选择5对以太网口进行调整

4.对FTP参数进行设置
以太网口配置菜单:
Note: Two protocols for download, tftp & ftp.
      You can modify the flags following the menu except the boot device.
      tftp--0x80, ftp--0x0.
'.' = clear field;  '-' = go to previous field;  Ctrl+D = quit
boot device:          motfcc1              网络下载设备名字,无需更改
processor number:        0             处理器数,无需更改
host name:                              host          主机名字,无需更改
file name:            MSR50-CMW520-R1508P02-SI.BIN       与服务器文件一致
inet on ethernet (e) :             10.0.0.1               根据实际组网进行设置
inet on backplane (b):                                    无需设置
host inet (h) :                          10.0.0.2        FTP或TFTP服务器的ip地址
gateway inet (g) :                                                  网关ip地址,根据实际情况设置
user (u) :                                 bbxz                    下载用户名
ftp password (pw) (blank = use rsh): 123456         下载密码
flags (f) :                                  0x0                      下载标识,FTP为0x0,TFTP为0x80
target name (tn) :                             设置保存在Flas中的目标文件的名称,无需设置
startup script (s) :                                                        无需设置
other (o) :                                                             无需设置



4.下载文件
选择2将指定文件下载到CF卡中作为主启动文件
====================<ETHERNET SUB-MENU>======================
|Note:the operating device is CF Card                       |
| <1> Download Application Program To SDRAM And Run     |
| <2> Update Main Application File                          |
| <3> Update Backup Application File                        |
| <4> Update Secure Application File                        |
| <5> Change Ethernet Parameter                           |
| <6> Exit To Main Menu                                    |
| < Ensure The Parameter Be Modified Before Downloading! >  |
=============================================================
Enter your choice(1-6):2
boot device          : mottsec
unit number          : 0
processor number     : 0
host name            : host
file name            : MSR50-CMW520-R1508P02-SI.BIN
inet on ethernet (e) : 10.0.0.1
host inet (h)        : 10.0.0.2
user (u)             : guest
ftp password (pw)    : 123456
flags (f)            : 0x0
Attached TCP/IP interface to mottsec0.
Warning: no netmask specified.
Attaching network interface lo0... done.
Loading...
Done!
18339940 bytes downloaded.
Input the File Name:MSR50-CMW520-R1508P02-SI.BIN//
Updating File cf:/msr50-cmw520-r1508p02-si.bin
........
Update Success!

5.重启升级(版本更换)
下载完毕后重启路由器完成版本升级(更换)操作。

【提示】
1、 MSR 20系列路由器只能使用Ethernet0/0端口,MSR 30及MSR 50系列路由器只能使用GigabitEthernet0/0端口。
2、BootROM程序同Comware版本捆绑升级,即用户不需要单独升级BootROM程序,在升级最新的Comware版本的同时,系统将自动为用户升级最新的BootROM程序。
3  进行软件升级前应确认当前的BootROM版本及应用程序版本,以便使用正确的文件。


发表于 2019-1-28 18:09:29 | 显示全部楼层
多谢分享 多谢分享  多谢分享  !!!
沙发 2019-1-28 18:09:29 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2021-1-30 22:00:04 | 显示全部楼层
ddddddddddddd
板凳 2021-1-30 22:00:04 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-3-10 17:06 , Processed in 0.073326 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表