04-H3C MSR系列路由器 采用Boot ROM TFTP方式升级方法典型配置举例
本章节下载: 04-H3C MSR系列路由器 采用Boot ROM TFTP方式升级方法典型配置举例 (307.06 KB)
H3C MSR系列路由器
采用Boot ROM TFTP方式升级软件配置举例
Copyright © 2024 新华三技术有限公司 版权所有,保留一切权利。
非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部,并不得以任何形式传播。
除新华三技术有限公司的商标外,本手册中出现的其它公司的商标、产品标识及商品名称,由各自权利人拥有。
本文档中的信息可能变动,恕不另行通知。
目 录
本文档介绍使用Boot ROM菜单升级软件版本的典型配置举例。
本文档适用于使用Comware V7软件版本的MSR系列路由器,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解Boot ROM菜单升级软件的特性。
如图1所示,用户主机Host连接Router的GigabitEthernet1/0/1接口,同时Host通过串口线连接Router的Console口。现要求:采用TFTP方式,通过与主机直连的以太网接口,使用Boot ROM菜单升级路由器软件版本,版本文件为msr36x1.ipe。
本配置举例是在MSR3610-X1路由器Release 6749版本上进行配置和验证的。
· 确保在主机上开启TFTP服务器功能。
· 当设备剩余的存储空间不够,请使用delete /unreserved file-url命令删除部分暂时不用的文件后,再执行升级软件操作。
# 配置主机Host的IP地址为192.168.100.14/24,使得到Router路由可达,具体配置步骤略。
# 打开超级终端,创建一个新建连接Router。
图2 新建连接
# 选择连接时使用的“COM1”,单击<确定>。
图3 连接到对话框
# 选择“还原为默认值”,单击<确定>。
图4 配置属性值
# 显示登录成功。
图5 登录设备
# 启动Host上的TFTP服务器(以3CDaemon软件为例),设置TFTP服务器下载路径等参数,并开启服务。
图6 配置TFTP服务器
# 路由器上加电重启的过程中,在配置终端的屏幕上将显示:
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU...
Press Ctrl+T to start heavy memory test
Booting Normal Extended BootWare
The Extended BootWare is self-decompressing....Done.
****************************************************************************
* *
* H3C MSR3610 BootWare, Version 1.20 *
* *
****************************************************************************
Copyright (c) 2004-2023 Hangzhou H3C Technologies Co., Ltd.
Compiled Date : Jun 21 2013
CPU ID : 0x3
Memory Type : DDR3 SDRAM
Memory Size : 2048MB
BootWare Size : 1024KB
Flash Size : 8MB
cfa0 Size : 247MB
CPLD Version : 2.0
PCB Version : 2.0
BootWare Validating...
Press Ctrl+B to access EXTENDED-BOOTWARE MENU...
# 当出现“Press Ctrl+B to enter extended boot menu...”时,键入<Ctrl+B>,系统提示:
Password recovery capability is enabled.
Note: The current operating device is cfa0
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
# 在BootWare菜单下键入<3>,进入以太网口子菜单,系统显示如下:
Enter your choice(0-9): 3
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is cfa0 |
|<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!> |
============================================================================
# 在以太网口子菜单下键入<5>就可以进入以太网口配置菜单:
Enter your choice(0-5): 5
==========================<ETHERNET PARAMETER SET>==========================
|Note: '.' = Clear field. |
| '-' = Go to previous field. |
| Ctrl+D = Quit. |
============================================================================
Protocol (FTP or TFTP) :ftp tftp
Load File Name :MSR36X1-CMW710-r6749.IPE
:msr36x1.ipe
Target File Name :MSR36X1-CMW710-r6749.IPE
:msr36x1.ipe
Server IP Address :192.168.1.100 192.168.100.14
Local IP Address :192.168.1.101 192.168.100.66
Subnet Mask :0.0.0.0 255.255.255.0
Gateway IP Address :0.0.0.0
# 按下Enter键,进入如下界面:
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is cfa0 |
|<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!> |
============================================================================
# 在以太网口配置子菜单下,键入<2>为升级主启动文件:
Enter your choice(0-5): 2
Loading.....................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
............................................................................
.........................................................Done.
33553920 bytes downloaded!
==========================<Enter Ethernet SubMenu>==========================
|Note:the operating device is cfa0 |
|<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!> |
============================================================================
# 键入<0>,返回BootWare主菜单:
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
Enter your choice(0-9): 1
Loading the main image files...
Loading file flash:/msr36x1-cmw710-system-r6749.bin..........................
.............Done.
Loading file flash:/msr36x1-cmw710-voice-r6749.bin.....Done.
Loading file flash:/msr36x1-cmw710-data-r6749.bin.....Done.
Loading file flash:/msr36x1-cmw710-boot-r6749.bin...............Done.
Image file flash:/msr36x1-cmw710-boot-r6749.bin is self-decompressing........
.......Done.
System image is starting...
Line aux0 is available.
Press ENTER to get started.
# 键入Enter键,进入到用户视图。
<Router>
# 设备重启后,使用display version命令查看设备版本信息。
<Router> display version
H3C Comware Software, Version 7.1.049, Release 6749
Copyright (c) 2004-2023 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C MSR3610 uptime is 0 weeks, 0 days, 0 hours, 2 minutes
Last reboot reason : User reboot
Boot image: flash:/msr36x1-cmw710-boot-r6749.bin
Boot image version: 7.1.049P04, Release 6749
Compiled Feb 08 2023 17:43:51
System image: flash:/msr36x1-cmw710-system-r6749.bin
System image version: 7.1.049, Release 6749
Compiled Feb 08 2023 17:43:51
Feature image(s) list:
flash:/msr36x1-cmw710-security-r6749.bin, version: 7.1.049
Compiled Feb 08 2023 17:44:41
flash:/msr36x1-cmw710-voice-r6749.bin, version: 7.1.049
Compiled Feb 08 2023 17:44:42
flash:/msr36x1-cmw710-data-r6749.bin, version: 7.1.049
Compiled Feb 08 2023 17:44:44
CPU ID: 0x2
2G bytes DDR3 SDRAM Memory
8M bytes Flash Memory
PCB Version: 2.0
CPLD Version: 2.0
Basic BootWare Version: 1.20
Extended BootWare Version: 1.20
[SLOT 0]AUX (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 0]GE1/0/1 (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 0]GE1/0/2 (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 0]GE1/0/3 (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 0]CELLULAR0/0 (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 0]CELLULAR0/1 (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 2]SIC-4FSW (Hardware)2.0, (Driver)1.0, (CPLD)2.0
[SLOT 6]HMIM-4GEE (Hardware)2.0, (Driver)1.0, (CPLD)0.0
[SLOT 8]HMIM-2SAE (Hardware)3.0, (Driver)1.0, (CPLD)4.0
# 使用display boot-loader命令显示本次启动和下次启动所采用的启动软件包的名称。
<Router> display boot-loader
Software images on the device:
Current software images:
flash:/msr36x1-cmw710-boot-r6749.bin
flash:/msr36x1-cmw710-system-r6749.bin
flash:/msr36x1-cmw710-voice-r6749.bin
flash:/msr36x1-cmw710-data-r6749.bin
Main startup software images:
flash:/msr36x1-cmw710-boot-r6749.bin
flash:/msr36x1-cmw710-system-r6749.bin
flash:/msr36x1-cmw710-voice-r6749.bin
flash:/msr36x1-cmw710-data-r6749.bin
Backup startup software images:
flash:/msr36x1-cmw710-boot-r000701.bin
flash:/msr36x1-cmw710-system-r000701.bin
flash:/msr36x1-cmw710-security-r000701.bin
flash:/msr36x1-cmw710-voice-r000701.bin
flash:/msr36x1-cmw710-data-r000701.bin
无
· 《H3C MSR 系列路由器 配置指导(V7)》中的“基础配置指导”
· 《H3C MSR 系列路由器 命令参考(V7)》中的“基础配置命令参考”
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!