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

01-基础配置举例

04-H3C_ISSU典型配置举例

本章节下载 04-H3C_ISSU典型配置举例  (185.43 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S7500E/S7500X-G/Configure/Typical_Configuration_Example/H3C_S7500X-G_CE-R7724-6W100/01/201807/1091688_30005_0.htm

04-H3C_ISSU典型配置举例

ISSU典型配置举例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

H3C_彩色.emf

 



1 简介

本文档介绍了ISSU兼容和不兼容升级方式的配置举例。

ISSU(In-Service Software Upgrade,不中断业务升级)是一种可靠性高的升级设备启动软件的方式,可以在升级过程中做到业务不中断或中断时间较短。

进行ISSU升级前,请使用display version comp-matirx file命令查看设备将采用的ISSU升级策略,具体升级方式请见表1-1

确认ISSU升级方式:

·     对于兼容版本升级,查看显示信息中的“Upgrade Way”字段。

·     对于非兼容版本升级,查看显示信息末尾部分,会显示“Incompatible upgrade”。

表1-1 升级方式和显示参数对应表

升级方式

字段显示

兼容升级

Upgrade Way字段显示:

·     Service Upgrade

·     File Upgrade

·     ISSU Reboot

·     Reboot

不兼容升级

Incompatible upgrade

 

2 配置前提

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

本文档假设您已了解ISSU特性。

3 使用限制

1. ISSU升级对硬件的要求

·     请通过Console口对设备实施ISSU升级。如果通过Telnet或SSH登录设备实施ISSU升级,在升级过程中可能会因Telnet或SSH连接中断,导致ISSU升级无法继续。

·     硬件升级或故障期间,请不要进行ISSU升级。否则可能会导致升级失败或者系统异常。

2. ISSU升级需要满足的条件

·     请仔细阅读当前的软件版本和待升级软件版本的软件版本说明书,确认前后两个版本是否支持使用ISSU方式进行升级。

·     请通过display device命令了解设备的当前状态。请确保此时所有设备均为正常状态,对于故障设备请先行排除故障后,再进行ISSU升级。

·     请使用dir命令确认主控板/成员设备的存储介质有足够的空间来存放新的软件包/IPE文件。如果空间不足,请删除不需要的文件。

3. ISSU升级和其他特性之间的限制关系

表3-1 ISSU升级和其他特性之间的关系

特性

要求

GR或NSR

建议使能OSPF、ISIS、BGP和FSPF等协议的GR或NSR功能,否则ISSU升级期间可能会出现业务中断的现象

以太网链路聚合

所有动态聚合组的所有成员端口下LACP超时时间为长超时,即这些成员端口下都没有配置lacp period short命令

IRF

·     如果需要对整个IRF进行兼容版本重启升级,请配置IRF桥MAC地址的保留时间为6分钟或永久保留

·     如果需要对整个IRF进行不兼容升级,并且IRF桥MAC地址为将执行issu load设备中的某台设备的MAC地址时,请在执行issu load命令前配置桥IRF桥MAC地址的保留时间为永久保留

·     如果需要对整个IRF进行不兼容升级,请先关闭IRF MAD 检测功能,完成ISSU升级后再重新配置

 

4. ISSU升级期间的操作限制

·     ISSU升级期间,请确保网络拓扑稳定,禁止手工重启成员设备。

·     ISSU升级期间,请确保系统中除了当前执行ISSU升级命令的用户外无其他用户登录。

·     ISSU升级期间,请不要执行ISSU之外的配置命令,以免影响配置效果。

·     禁止对启动软件包进行修改、删除以及重命名等操作。

4 兼容升级典型配置举例

4.1  组网需求

图4-1所示,IRF由主设备和从设备组成。主设备的成员编号为1,主用主控板所在的槽位号为0,备用主控板所在的槽位号为1;从设备的成员编号为2,主用主控板所在的槽位号为0,备用主控板所在的槽位号为1。将Feature1软件包从R7723版本升级到兼容版本R7724。

图4-1 ISSU兼容升级组网图

 

4.2  使用版本

本举例是在S7500XG-CMW710-R7724版本上进行配置和验证的。

4.3  配置注意事项

升级前确保各成员设备的剩余存储空间大于等于新启动软件包大小的2倍。

4.4  配置步骤

# 从TFTP server下载包含新版本Feature1软件包的BIN文件。

<Sysname> tftp 2.2.2.2 get feature1-R7724.bin

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   256  100  256     0     0    764      0 --:--:-- --:--:-- --:--:--   810

Writing file...Done.

# 查看升级前激活的软件包。

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 1 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 2 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 2 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

# 显示设备将采用的ISSU升级策略。

<Sysname> display version comp-matrix file feature flash:/feature1-R7724.bin

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 0...Done.

 

  Chassis   Slot              Upgrade Way

  1         0                 Service Upgrade

  1         1                 Service Upgrade

  2         0                 Service Upgrade

  2         1                 Service Upgrade

 

Influenced service according to following table on chassis 1 slot 0:

  flash:/feature1-R7724.bin

         Feature1

Influenced service according to following table on chassis 1 slot 1:

  flash:/feature1-R7724.bin

         Feature1

Influenced service according to following table on chassis 2 slot 0:

  flash:/feature1-R7724.bin

         Feature1

Influenced service according to following table on chassis 2 slot 1:

  flash:/feature1-R7724.bin

         Feature1

以上显示信息表明,feature1-R7724.bin的升级方式是增量升级,升级过程中Feature1模块会重启。

# 升级从设备的Feature1软件包。

<Sysname> issu load file feature flash:/feature1-R7724.bin chassis 2

This operation will delete the rollback point information for the previous upgrade and maybe get unsaved configuration lost. Continue? [Y/N]:y

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 0...Done.

Copying file flash:/feature1-R7724.bin to chassis2#slot0#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 2 slot 0...Done.

Copying file flash:/feature1-R7724.bin to chassis2#slot1#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 2 slot 1...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/feature1-R7724.bin

  Running Version             New Version

  Release 7723                Release 7724

 

  Chassis   Slot              Upgrade Way

  2         0                 Service Upgrade

  2         1                 Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...Done.

# 对Feature1进程进行主备倒换。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/feature1-R7724.bin

  Running Version             New Version

  Release 7723                Release 7724

 

  Chassis   Slot              Switchover Way

  1         0                 Active standby process switchover

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...Done.

# 确认并升级主设备的软件包。

<Sysname> issu commit chassis 1

Copying file flash:/feature1-R7724.bin to chassis1#slot1#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 1...Done.

Upgrade summary according to following table:

 

flash:/feature1-R7724.bin

  Running Version             New Version

  Release 7723                Release 7724

 

  Chassis   Slot              Upgrade Way

  1         0                 Service Upgrade

  1         1                 Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...Done.

4.5  验证配置

# 升级完成后,通过display install active命令查看设备当前运行的Feature1软件包版本,可以看到设备当前运行的Feature1软件包为R7724版本。

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 1 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 2 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 2 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

4.6  配置文件

5 不兼容升级典型配置举例

5.1  组网需求

图5-1所示,IRF由主设备和从设备组成。主设备的成员编号为1,主用主控板所在的槽位号为0,备用主控板所在的槽位号为1;从设备的成员编号为2,主用主控板所在的槽位号为0,备用主控板所在的槽位号为1。将Feature1软件包从R7723版本升级到不兼容版本R7724。

图5-1 ISSU不兼容升级组网图

 

5.2  使用版本

本举例是在S7500XG-CMW710-R7724版本上进行配置和验证的。

5.3  配置步骤

# 从TFTP server下载包含新版本Feature1软件包的BIN文件。

<Sysname> tftp 2.2.2.2 get feature1-R7724.bin

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   256  100  256     0     0    764      0 --:--:-- --:--:-- --:--:--   810

Writing file...Done.

# 查看升级前激活的软件包。

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 1 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 2 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

Active packages on chassis 2 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7723.bin

# 显示设备将采用的ISSU升级策略。

<Sysname> display version comp-matrix file feature flash:/feature1-R7724.bin

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 0...Done.

Incompatilbe upgrade.

以上显示信息表明,feature1-R7724.bin的升级方式是不兼容升级,升级过程中对应的单板会重启。

# 升级从设备的Feature1软件包,升级完成后从设备形成新的IRF。

<Sysname> issu load file feature flash:/feature1-R7724.bin chassis 2

This operation will delete the rollback point information for the previous upgrade and maybe get unsaved configuration lost. Continue? [Y/N]:y

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 0...Done.

Copying file flash:/feature1-R7724.bin to chassis2#slot0#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 2 slot 0...Done.

Copying file flash:/feature1-R7724.bin to chassis2#slot1#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 2 slot 1...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/feature1-R7724.bin

  Running Version             New Version

  Release 7723                Release 7724

 

  Chassis   Slot              Upgrade Way

  2         0                 Reboot

  2         1                 Reboot

Upgrading software images to incompatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...Done.

# 升级原主设备的软件包,升级完成后原主设备重启后加入新的IRF。

<Sysname> issu run switchover

Copying file flash:/feature1-R7724.bin to chassis1#slot1#flash:/feature1-R7724.bin......Done.

Verifying the file flash:/feature1-R7724.bin on chassis 1 slot 1...Done.

Upgrade summary according to following table:

 

flash:/feature1-R7724.bin

  Running Version             New Version

  Release 7723                Release 7724

 

  Chassis   Slot              Upgrade Way

  1         0                 Reboot

  1         1                 Reboot

Upgrading software images to incompatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...Done.

5.4  验证配置

# 升级完成后,通过display install active命令查看设备当前运行的Feature1软件包版本,可以看到设备当前运行的Feature1软件包为R7724版本。

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 1 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 2 slot 0:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

Active packages on chassis 2 slot 1:

  flash:/boot-R7723.bin

  flash:/system-R7723.bin

  flash:/feature1-R7724.bin

5.5  配置文件

6 相关资料

·     H3C S7500X-G系列以太网交换机 基础配置指导-R7724

·     H3C S7500X-G系列以太网交换机 基础配置命令参考-R7724

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

新华三官网
联系我们