• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 关于我们

H3C MSR1000[2600][3600]路由器 配置举例一本通-R9141-6W101

目录

73-采用Boot ROM TFTP方式升级方法典型配置举例

本章节下载 73-采用Boot ROM TFTP方式升级方法典型配置举例  (287.29 KB)

73-采用Boot ROM TFTP方式升级方法典型配置举例


1  简介

本文档介绍使用Boot ROM菜单升级软件版本的典型配置举例。

2  配置前提

本文档适用于使用Comware V9软件版本的路由器,如果使用过程中与产品实际情况有差异,请参考相关产品手册,或以设备实际情况为准。

本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。

本文档假设您已了解Boot ROM菜单升级软件的特性。

3  配置举例

3.1  组网需求

图1所示,用户主机Host连接Router的GigabitEthernet0/0/1接口,同时Host通过串口线连接Router的Console口。现要求:采用TFTP方式,通过与主机直连的以太网接口,使用Boot ROM菜单升级路由器软件版本,版本文件为test.ipe。

图1 配置组网图

 

3.2  使用版本

本举例是在MSR2630E-X1设备的R9141P16版本上进行配置和验证的。

3.3  配置注意事项

·     确保在主机上开启TFTP服务器功能。

·     当设备剩余的存储空间不够,请使用delete /unreserved file-url命令删除部分暂时不用的文件后,再执行升级软件操作。

3.4  配置步骤

3.4.1  Host的配置

# 配置主机Host的IP地址为192.168.100.14/24,使得到Router路由可达,具体配置步骤略。

# 打开超级终端,创建一个新建连接Router。

图2 新建连接

 

# 选择连接时使用的“COM1”,单击<确定>。

图3 连接到对话框

 

# 选择“还原为默认值”,单击<确定>。

图4 配置属性值

 

# 显示登录成功。

图5 登录设备

 

# 启动Host上的TFTP服务器(以3CDaemon软件为例),设置TFTP服务器下载路径等参数,并开启服务。

图6 配置TFTP服务器

 

3.4.2  Router的配置

# 路由器上加电重启的过程中,在配置终端的屏幕上将显示:

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.

 

****************************************************************************

*                                                                          *

*                          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          : 2048MB

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 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

# 在BootWare菜单下键入<3>,进入以太网口子菜单,系统显示如下:

Enter your choice(0-9): 3

 

==========================<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!>                    |

============================================================================

# 在以太网口子菜单下键入<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         :TEST-CMW910-r9141p16.IPE

                       :test.ipe

Target File Name       :TEST-CMW910-r9141p16.IPE

                       :test.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 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!>                    |

============================================================================

# 在以太网口配置子菜单下,键入<2>为升级主启动文件:

Enter your choice(0-5): 2

Loading.....................................................................

............................................................................

............................................................................

............................................................................

............................................................................

............................................................................

............................................................................

............................................................................

.........................................................Done.

33553920 bytes downloaded!

 

==========================<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!>                    |

============================================================================

# 键入<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

# 键入<1>,进入引导系统

Enter your choice(0-9): 1

Loading the main image files...

Loading file flash:/test-CMW910-system-r9141p16.bin..........................

.............Done.

Loading file flash:/test-CMW910-boot-r9141p16.bin...............Done.

 

Image file flash:/test-CMW910-boot-r9141p16.bin is self-decompressing........

.......Done.

System image is starting...

Line aux0 is available.

 

Press ENTER to get started.

# 键入Enter键,进入到用户视图。

<Router>

3.5  验证配置

# 设备重启后,使用display version命令查看设备版本信息。

<Router> display version

H3C Comware Software, Version 9.1.063, Release 9141P16

Copyright (c) 2004-2023 Hangzhou H3C Tech. Co., Ltd. All rights reserved.

H3C xxx uptime is 0 weeks, 0 days, 0 hours, 2 minutes

Last reboot reason : User reboot

Boot image: flash:/test-CMW910-boot-r9141p16.bin

Boot image version: 9.1.063, Release 9141P16

  Compiled Feb 08 2023 17:43:51

System image: flash:/test-CMW910-system-r9141p16.bin

System image version: 9.1.063, Release 9141P16

  Compiled Feb 08 2023 17:43:51

 

……略……

# 使用display boot-loader命令显示本次启动和下次启动所采用的启动软件包的名称。

<Router> display boot-loader

Software images on the device:

Current software images:

  flash:/test-CMW910-boot-r9141p16.bin

  flash:/test-CMW910-system-r9141p16.bin

Main startup software images:

  flash:/test-CMW910-boot-r9141p16.bin

  flash:/test-CMW910-system-r9141p16.bin

Backup startup software images:

  flash:/test-CMW910-boot-r9141p14.bin

  flash:/test-CMW910-system-r9141p14.bin

3.6  配置文件

4  相关资料

·     《H3C MSR1000[2600][3600]路由器 配置指导(V9)》中的“基础配置指导”

·     《H3C MSR1000[2600][3600]路由器 命令参考(V9)》中的“基础配置命令参考”

 

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们