• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

04-H3C交换机软件升级指导书

05-BootWare程序升级

本章节下载 05-BootWare程序升级  (292.42 KB)

05-BootWare程序升级


5 BootWare程序升级

本章将为您介绍BootWare程序升级的过程,包含以下内容:

·     通过命令行升级(框式设备-独立运行模式单主控)

·     通过命令行升级(框式设备-独立运行模式双主控)

·     通过命令行升级(框式设备-IRF模式)

·     通过命令行升级(盒式设备)

·     通过BootWare菜单升级

注意

BootWare程序升级过程中,严禁将设备断电,否则会导致设备无法运行。

 

5.1  通过命令行升级(框式设备-独立运行模式单主控)

5.1.1  升级流程

图5-1 通过命令行升级流程图

 

5.1.2  升级过程

不同框式设备的命令行配置可能略有差异,请以设备实际情况为准。本节仅以S10500系列交换机为例。

1. 升级前准备

请按“软件升级前准备”章节内容完成升级前的准备。

2. 下载软件包

从PC上下载升级所需的软件到设备。下载软件的详细介绍请参见“附录A 下载升级软件”章节。

3. 解压缩IPE文件

如果用于升级BootWare的文件压缩在IPE文件中,需要将IPE文件解压缩生成软件包并存到设备的存储介质的根目录下。

<Sysname>install add flash:/newest.ipe flash:

Verifying image file...Done.

This operation will take several minutes, please wait...........................

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

解压完成后会在存储介质根目录下生成Boot包和System包。

4. 升级BootWare程序

# 升级主控板(所在槽位号为0)的BootWare程序。

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 0

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级业务板(所在槽位号为3)的BootWare程序。(设备上其它业务板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 3

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级网板(所在槽位号为6)的BootWare程序。(设备上其它网板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 6

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

5. 重启设备

# 重启设备,完成BootWare程序的升级。

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

5.2  通过命令行升级(框式设备-独立运行模式双主控)

5.2.1  升级流程

图5-2 通过命令行升级流程图

 

5.2.2  升级过程

不同框式设备的命令行配置可能略有差异,请以设备实际情况为准。本节仅以S10500系列交换机为例。

1. 升级前准备

请按“软件升级前准备”章节内容完成升级前的准备。

2. 下载软件包

从PC上下载升级所需的软件到设备。下载软件的详细介绍请参见“附录A 下载升级软件”章节。

3. 解压缩IPE文件

如果用于升级BootWare的文件压缩在IPE文件中,需要将IPE文件解压缩生成软件包并存到设备的存储介质的根目录下。

<Sysname>install add flash:/newest.ipe flash:

Verifying image file...Done.

This operation will take several minutes, please wait...........................

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

解压完成后会在存储介质根目录下生成Boot包和System包。

4. 升级BootWare程序

# 升级所有主控板(所在槽位号为0和1)的BootWare程序。

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 0

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 1

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级业务板(所在槽位号为3)的BootWare程序。(设备上其它业务板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 3

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级网板(所在槽位号为6)的BootWare程序。(设备上其它网板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin slot 6

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

5. 重启设备

# 重启设备,完成BootWare程序的升级。

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

5.3  通过命令行升级(框式设备-IRF模式)

说明

·     本章节中的IRF包含两台设备,且每台设备均安装两块主控板。

·     单主控与双主控的升级过程相同,均按本节操作即可。

 

5.3.1  升级流程

图5-3 通过命令行升级流程图

 

5.3.2  升级过程

不同框式设备的命令行配置可能略有差异,请以设备实际情况为准。本节仅以S10500系列交换机为例。

1. 升级前准备

请按“软件升级前准备”章节内容完成升级前的准备。

2. 下载软件包

从PC上下载升级所需的软件到设备。下载软件的详细介绍请参见“附录A 下载升级软件”章节。

3. 解压缩IPE文件

如果用于升级BootWare的文件压缩在IPE文件中,需要将IPE文件解压缩生成软件包并存到设备的存储介质的根目录下。

<Sysname>install add flash:/newest.ipe flash:

Verifying image file...Done.

This operation will take several minutes, please wait...........................

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

解压完成后会在存储介质根目录下生成Boot包和System包。

4. 升级BootWare程序

# 升级所有主控板(所在槽位号为0和1)的BootWare程序。

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 1 slot 0

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 1 slot 1

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 2 slot 0

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 2 slot 1

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级成员设备1的业务板(所在槽位号为3)的BootWare程序。(成员设备1和2上的其它业务板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 1 slot 3

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

# 升级成员设备1的网板(所在槽位号为6)的BootWare程序。(成员设备1和2上的其它网板升级方式相同)

<Sysname> bootrom update file flash:/S10500-CMW710-BOOT-R7596P10.bin chassis 1 slot 6

  This command will update bootrom file on the specified board(s),

  Continue? [Y/N]:y

Now updating the Boot ROM, please wait........... ...........Done

5. 重启设备

# 重启设备,完成BootWare程序的升级。

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

5.4  通过命令行升级(盒式设备)

5.4.1  升级流程

图5-4 通过命令行升级流程图

 

5.4.2  升级过程

不同盒式设备的命令行配置可能略有差异,请以设备实际情况为准。本节仅以S6520X-EI-G系列交换机为例。

1. 升级前准备

请按“软件升级前准备”章节内容完成升级前的准备。

2. 下载软件包

从PC上下载升级所需的软件到设备。下载软件的详细介绍请参见“附录A 下载升级软件”章节。

3. 解压缩IPE文件

如果用于升级BootWare的文件压缩在IPE文件中,需要将IPE文件解压缩生成软件包并存到设备的存储介质的根目录下。

<Sysname>install add flash:/newest.ipe flash:

Verifying image file...Done.

This operation will take several minutes, please wait...........................

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

解压完成后会在存储介质根目录下生成Boot包和System包。

4. 升级BootWare程序

<Sysname> bootrom update file flash:/S6520XG-CMW710-BOOT-R7743P05.bin slot 1

   This command will update the Boot ROM file on the specified board(s), Continue? [Y/N]:y

   Now updating the Boot ROM, please wait................Done.

5. 重启设备

# 重启设备,完成BootWare程序的升级。

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

5.5  通过BootWare菜单升级

5.5.1  升级流程

图5-5 通过BootWare菜单升级流程图

 

5.5.2  升级过程

1. 升级前准备

请按“软件升级前准备”章节内容完成升级前的准备,搭建升级环境。

2. 通过BootWare菜单下载并升级BootWare程序

注意

·     不同设备不同版本的BootWare菜单不同,请以设备实际显示内容为准。本节以S10500系列交换机为例进行介绍。

·     通过FTP和TFTP协议下载软件的操作类似,此处以FTP协议为例。

 

(1)     在用户PC(假设IP地址为192.168.0.23)上运行FTP Server程序,设置用户名和密码,以及正确的文件保存目录,并把待升级文件保存在FTP Server的工作目录下。

(2)     在用户PC上运行终端仿真程序,启动设备,键入<Ctrl+B>,进入BootWare扩展段主菜单。

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

Ctrl+C: Display Copyright

Enter your choice(0-9):

(3)     (可选)设置设备默认下载软件的存储介质。

注意

若下载软件的存储介质不是设备启动软件的存储介质,需要设置下载软件的存储介质为设备启动软件的存储介质。

 

# 键入<9>,进入存储器操作子菜单。

==============================<DEVICE CONTROL>==============================

|<1> Display All Available Nonvolatile Storage Device(s)                   |

|<2> Set The Operating Device                                              |

|<3> Set The Default Boot Device                                           |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-3):

# 键入<2>,设置下载软件的存储介质。此处以启动软件的存储介质是flash为例。

Please set the operating device:

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

|Note:the operating device is flash                                        |

|NO.  Device Name  File System  Total Size  Available Space                |

|1    flash        YAFFS2       1048576KB   184920KB                       |

|0    Exit                                                                 |

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

Enter your choice(0-2):

# 键入<1>,设置flash为下载软件的存储介质。

==============================<DEVICE CONTROL>==============================

|<1> Display All Available Nonvolatile Storage Device(s)                   |

|<2> Set The Operating Device                                              |

|<3> Set The Default Boot Device                                           |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-3):

# 键入<3>,设置默认启动软件的存储介质。

Please set the default device:

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

|Note:the default device is flash                                          |

|NO.  Device Name  File System  Total Size  Available Space                |

|1    flash        YAFFS2       1048576KB   184920KB                       |

|0    Exit                                                                 |

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

Enter your choice(0-2):

# 键入<1>,设置flash为默认启动软件的存储介质。

==============================<DEVICE CONTROL>==============================

|<1> Display All Available Nonvolatile Storage Device(s)                   |

|<2> Set The Operating Device                                              |

|<3> Set The Default Boot Device                                           |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-3):

# 键入<0>,退出子菜单。

(4)     下载并升级BootWare。

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

Ctrl+C: Display Copyright

Enter your choice(0-9):

# 键入<7>,进入BootWare操作子菜单。

=========================<BootWare Operation Menu>==========================

|Note:the operating device is flash                                        |

|<1> Backup Full BootWare                                                  |

|<2> Restore Full BootWare                                                 |

|<3> Update BootWare By Serial                                             |

|<4> Update BootWare By Ethernet                                           |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

# 键入<4>,进入通过以太网口升级BootWare子菜单。

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                              |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

# 键入<4>,设置以太网口的相关参数。

说明

在设置参数时,直接输入新的参数即可;不输入参数,直接回车则不做修改,保留原有参数。

 

==========================<ETHERNET PARAMETER SET>==========================

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|          Ctrl+D = Quit.                                                  |

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

Protocol (FTP or TFTP) :ftp

Load File Name         :test.btw

                       :mpu.btw

Target File Name       :test.btw

                       :mpu.btw

Server IP Address      :192.168.0.23

Local IP Address       :192.168.0.105

Subnet Mask            :255.255.255.0

Gateway IP Address     :0.0.0.0

FTP User Name          :xxx

FTP User Password      :***

表5-1 设置以太网口参数显示信息描述表

显示信息

说明

'.' = Clear field

在菜单项中键入“.”表示清除当前输入

'-' = Go to previous field

在菜单项中键入“-”表示返回到前一个参数域

Ctrl+D = Quit

快捷键<Ctrl+D>表示退出参数设置界面

Protocol (FTP or TFTP)

选择通过TFTP/FTP升级BootWare

Load File Name

下载文件的名称,要与下载的文件名一致

Target File Name

下载到交换机后的目标文件名,文件的后缀需要和下载文件的后缀保持一致

Server IP Address

FTP/TFTP服务器或PC的IP地址

Local IP Address

设备的IP地址

Subnet Mask

子网掩码

Gateway IP Address

网关IP地址,如果设备与下载文件所在PC不在同一个网段中,需要配置网关IP地址

FTP User Name

FTP用户名

FTP User Password

FTP下载密码

 

# 设置完FTP协议相关参数后,系统再次进入通过以太网口升级BootWare子菜单。

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                              |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

# 根据所需升级的BootWare类型键入<1>~<3>,选择升级完整BootWare、扩展BootWare或者基本BootWare。此处以升级完整BootWare为例。在以太网口子菜单中键入<1>。

Loading...........Done!

447612 bytes downloaded!

Updating Basic BootWare? [Y/N]

# 键入<Y>,升级基本BootWare。

Updating Basic BootWare.........Done!

Updating Extended BootWare? [Y/N]

# 键入<Y>,升级扩展BootWare。

Updating Extended BootWare.........Done!

 

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                              |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

3. 重启设备

BootWare升级成功后,在以太网口升级BootWare子菜单中键入<0>,返回到BootWare操作子菜单,再键入<0>,返回到BootWare扩展段主菜单。在BootWare扩展段主菜单中键入<0>,重启设备。

说明

对于框式设备,若设备上有主用主控板和备用主控板,需要通过Console口分别进入主用主控板和备用主控板的BootWare菜单进行升级操作,同时需要连接对应主控板的管理用以太网接口。

 

 

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

新华三官网
联系我们