04-ISSU典型配置举例
本章节下载: 04-ISSU典型配置举例 (220.47 KB)
H3C S10500 ISSU典型配置举例
Copyright © 2014 杭州华三通信技术有限公司 版权所有,保留一切权利。 非经本公司书面许可,任何单位和个人不得擅自摘抄、复制本文档内容的部分或全部, 并不得以任何形式传播。本文档中的信息可能变动,恕不另行通知。 |
目 录
本文档介绍了ISSU兼容和不兼容升级方式的配置举例。
ISSU(In-Service Software Upgrade,不中断业务升级)是一种可靠性高的升级设备启动软件的方式,可以在升级过程中做到业务不中断或中断时间较短。
进行ISSU升级前,请使用display version comp-matirx命令查看升级待升级启动软件包时需要使用的升级方式,使用该命令后,会在Upgrade Way中显示升级方式,具体升级方式请见1 表1
Upgrade Way字段显示参数 |
|
兼容升级 |
· Service Upgrade · File Upgrade · Reboot |
不兼容升级 |
Incompatible upgrade |
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解ISSU特性。
· 请通过Console口对设备实施ISSU升级。如果通过Telnet或SSH登录设备实施ISSU升级,在升级过程中可能会因Telnet或SSH连接中断,导致ISSU升级无法继续。
· 硬件升级或故障期间,请不要进行ISSU升级。否则可能会导致升级失败或者系统异常。
· 请仔细阅读当前的软件版本和待升级软件版本的软件版本说明书,确认前后两个版本是否支持使用ISSU方式进行升级。
· 请通过display device命令了解设备的当前状态。请确保此时所有设备均为正常状态,对于故障设备请先行排除故障后,再进行ISSU升级。
· 请通过display mdc命令查看MDC的状态,确保所有MDC的状态均为active才可以进行ISSU升级,否则可能导致该设备升级异常。
· 请使用dir命令确认主控板/成员设备的存储介质有足够的空间来存放新的软件包/IPE文件。如果空间不足,请删除不需要的文件。
表2 ISSU升级和其他特性之间的关系
特性 |
要求 |
GR或NSR |
建议使能LDP、RSVP、OSPF、ISIS、BGP和FSPF等协议的GR或NSR功能,否则ISSU升级期间可能会出现业务中断的现象 |
BFD |
建议去使能LDP、RSVP、OSPF、ISIS、RIP、BGP、VRRP、NQA等协议的BFD功能,否则ISSU升级期间可能会出现业务中断的现象 |
以太网链路聚合 |
所有动态聚合组的所有成员端口下LACP超时时间为长超时,即这些成员端口下都没有配置lacp period short命令 |
IRF |
· 如果需要对整个IRF进行兼容版本重启升级,请配置IRF桥MAC地址的保留时间为6分钟或永久保留 · 如果需要对整个IRF进行不兼容升级,并且IRF桥MAC地址为将执行issu load设备中的某台设备的MAC地址时,请在执行issu load命令前配置桥IRF桥MAC地址的保留时间为永久保留 |
· ISSU升级期间,请确保网络拓扑稳定,禁止手工重启单板和插拔单板。
· ISSU升级期间,请确保系统中除了当前执行ISSU升级命令的用户外无其他用户登录。
· ISSU升级期间,请不要执行ISSU之外的配置命令,以免影响配置效果。
· 禁止对启动软件包进行修改、删除以及重命名等操作。
如4.1 图1所示,Device作为TFTP Client,和TFTP Server之间路由可达。Device上配备了两块主控板(主用主控板所在的槽位号为1,备用主控板所在的槽位号为2),现要求将使用ISSU方式进行设备Feature软件包的升级,将Feature软件包从r0201升级到r0202。
图1 ISSU兼容升级组网图
本举例是在S10500-CMW710-R2111P01版本上进行配置和验证的。
升级前确保各成员设备的剩余存储空间大于等于新启动软件包大小的2倍。
# 从TFTP server上下载待升级软件包http-r0202.bin。
<Device> tftp 2.2.2.2 get http-r0202.bin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 256k 100 256k 0 0 764k 0 --:--:-- --:--:-- --:--:-- 810k
# 查看升级前的软件包激活列表。
<Device> display install active
Active packages on slot 1:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 2:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 3:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 4:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 6:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
# 查看将要升级的软件包的软件版本与设备上当前运行的软件版本是否兼容,并显示软件包的升级策略。
<Device> display version comp-matrix file feature flash:/http-r0202.bin
Feature image: flash:/http-r0203.bin
Version:
7.1.045
Version Compatibility List:
7.1.045
7.1.045-R2111P01
Version Dependency System List:
7.1.045P99
Slot Upgrade Way
1 File Upgrade
2 File Upgrade
3 File Upgrade
4 File Upgrade
6 File Upgrade
Influenced service according to following table on slot 0:
flash:/http-r0202.bin
HTTP
Influenced service according to following table on slot 1:
flash:/http-r0202.bin
HTTP
根据显示信息,本次ISSU升级为兼容重启升级方式中的增量升级方式。
# 进行升级之前,使用issu rollback-timer命令设置自动回滚定时器,本例设置为120分钟(系统默认回滚定时器时间为45分钟),120分钟内没有删除定时器,设备会回滚到升级前的版本。
<Device> system-view
[Device] issu rollback-timer 120
<Device> quit
# 设置回滚时间后,升级备用主控板的HTTP软件包。
<Device> issu load file feature flash:/http-r0202.bin slot 2
This operation will delete the rollback point information and ISSU log information
for the previous upgrade and get unsaved configuration lost. Continue? [Y/N]:y
Upgrade summary according to following table:
flash:/http-r0202.bin
Running Version New Version
Alpha 0201 Alpha 0202
Slot Upgrade Way
2 File Upgrade
Upgrading software images to compatible versions. Continue? [Y/N]: y
# 备用主控板完成升级后,使用display issu state命令查看ISSU的状态和设备当前运行软件的软件版本。
<Device> display issu state
ISSU state: loaded
Compatibility: Compatible
Work state: Normal
Upgrade method: Card by card
Upgraded slot: None
Current upgrading slot: None
Current upgrading slot:
slot 2
Previous version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Upgrade version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
# 确认备用主控板当前运行软件的软件版本是待升级的软件版本后,使用issu run switchover命令进行主备倒换。
<Device> issu run switchover
Upgrade summary according to following table:
flash:/http-r0202.bin
Running Version New Version
Alpha 0201 Alpha 0202
Slot Upgrade Way
1 Active standby process switchover
Upgrading software images to compatible versions. Continue? [Y/N]: y
//主备切换后,原slot 2成为新的主设备,可使用display issu state查看是否切换完成,当工作状态显示为“Switchover”,表示主从设备切换操作完成。
# 升级原主用主控板的软件包。
<Device> issu commit slot 1
Upgrade summary according to following table:
flash:/http-r0202.bin
Running Version New Version
Alpha 0201 Alpha 0202
Slot Upgrade Way
1 File Upgrade
Upgrading software images to compatible versions. Continue? [Y/N]: y
# 原主控板完成升级后,使用display issu state命令查看issu状态。
ISSU state: Init
Compatibility: Compatible
Work state: Normal
Upgrade method: Card by card
Upgraded slot: None
Current upgrading slot: None
Current version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Current software images:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
//当ISSU状态为Init后,表明本次ISSU升级工作完成。
# 升级完成后,通过display install active命令查看Device的软件包激活列表,可以看到该列表已更新,HTTP特性已经升级到r0202版本。
<Device> display install active
Active packages on slot 1:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 2:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 3:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 4:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 6:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
无
如5.1 图2所示,Device作为TFTP Client,和TFTP Server之间路由可达。Device上配备了两块主控板(主用主控板所在的槽位号为1,备用主控板所在的槽位号为2),现要求使用ISSU方式进行设备Feature软件包的升级,将Feature软件包从r0201升级到r0202。
图2 ISSU兼容升级组网图
本举例是在S10500-CMW710-R2111P01版本上进行配置和验证的。
· 升级前确保各成员设备的剩余存储空间大于等于新启动软件包大小的2倍。
· 升级过程中不要执行与ISSU升级无关的命令。
# 从TFTP server下载待升级件包http-r0202.bin。
<Device> tftp 2.2.2.2 get http-r0202.bin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 256k 100 256k 0 0 764k 0 --:--:-- --:--:-- --:--:-- 810k
# 查看升级前的软件包激活列表。
<Device> display install active
Active packages on slot 1:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 2:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 3:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 4:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Active packages on slot 6:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
# 查看将要升级的软件包的软件版本与设备上当前运行的软件版本是否兼容,并预测软件包的升级策略。
<Device> display version comp-matrix file feature flash:/http-r0202.bin
Feature image: flash:/http-r0202.bin
Version:
7.1.045-com
Version Compatibility List:
7.1.045-com
7.1.045-R2111P01
Version Dependency System List:
7.1.045P99
Incompatilbe upgrade.
根据显示信息,本次升级方式为不兼容重启升级。
# 升级备用主控板的HTTP软件包。
<Device> issu load file feature flash:/http-r0202.bin slot 2
This operation will delete the rollback point information for the previous upgrade
and maybe get unsaved configuration lost. Continue? [Y/N]:y
Upgrade summary according to following table:
flash:/http-r0202.bin
Running Version New Version
Alpha 0201 Alpha 0202
Slot Upgrade Way
1 Reboot
Upgrading software images to incompatible versions. Continue? [Y/N]: y
# 备用主控板升级完成后,使用display issu state命令查看ISSU的状态和设备当前运行软件的软件版本。
<Device> display issu state
ISSU state: loaded
Compatibility: Incompatible
Work state: Normal
Upgrade method: Card by card
Upgraded slot: None
Current upgrading slot: None
Current upgrading slot:
slot 2
Previous version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0201.bin
Upgrade version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
# 升级主用主控板的HTTP软件包。
<Device> issu run switchover
Upgrade summary according to following table:
flash:/http-r0202.bin
Running Version New Version
Alpha 0201 Alpha 0202
Slot Upgrade Way
0 Reboot
Upgrading software images to incompatible versions. Continue? [Y/N]: y
# 完成切换后,使用display issu state查看下ISSU状态。
<Device> display issu state
ISSU state: Init
Compatibility: Incompatible
Work state: Normal
Upgrade method: Card by card
Upgraded slot: None
Current upgrading slot: None
Current version list:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Current software images:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
//当ISSU状态为Init后,表明本次ISSU升级工作完成。
# 升级完成后,通过display install active命令查看Device的软件包激活列表,可以看到该列表已更新,HTTP特性已经升级到r0202版本。
<Device> display install active
Active packages on slot 1:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 2:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 3:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 4:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
Active packages on slot 6:
flash:/boot-r2111.bin
flash:/system-r2111.bin
flash:/http-r0202.bin
无
如6.1 图3所示,IRF由两台成员设备组成,现要求使用ISSU方式进行成员设备的升级,将设备启动软件包由R2111版本升级到R2112版本。
图3 ISSU兼容升级组网图
本举例是在S10500-CMW710-R2111P01版本上进行配置和验证的。
升级前确保各成员设备的剩余存储空间大于等于新启动软件包大小的2倍。
# 从TFTP server下载10500B.IPE包到Master设备的根目录下,该IPE包中含有两个待升级启动软件包boot-R2112.bin包和system-R2112.bin包。
<Master> tftp 2.2.2.2 get 10500B.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 42.8M 100 42.8M 0 0 159k 0 0:04:34 0:04:34 --:--:-- 165k
# 查看各成员设备当前运行的启动软件包。
<Master> display boot-loader
Software images on chassis 1 slot 1:
Current software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Main startup software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Backup startup software images:
None
Software images on chassis 2 slot 1:
Current software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Main startup software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Backup startup software images:
flash:/S10500-CMW710-BOOT-R2111.bin
flash:/S10500-CMW710-SYSTEM-R2111.bin
# 查看将要升级的软件包的软件版本与设备上当前运行的软件版本是否兼容,并预测软件包的升级策略。
<Master> display version comp-matrix file ipe flash:/10500B.ipe
Verifying image file.......Done.
Boot image: S10500-CMW710-BOOT-R2112.bin
Version:
7.1.045P99
System image: S10500-CMW710-SYSTEM-R2112.bin
Version:
7.1.045-R2112
Version compatibility list:
7.1.045-R2112
7.1.045-R2111
Version dependency boot list:
7.1.045P99
Chassis Slot Upgrade Way
1 1 Service Upgrade
1 3 Reboot
1 4 Reboot
1 6 Reboot
2 1 Service Upgrade
2 3 Reboot
2 4 Reboot
2 6 Reboot
根据显示信息,本次ISSU升级为兼容重启升级方式中的重启方式。
# 升级之前,使用issu rollback-timer命令设置自动回滚定时器,本例设置为120分钟(系统默认回滚定时器时间为45分钟),120分钟内没有删除定时器,设备会回滚到升级前的版本。
<Master> system-view
[Master] issu rollback-timer 120
<Master> quit
# 对Standby设备进行升级。
<Master> issu load file ipe flash:/10500B.ipe chassis 2
This operation will delete the rollback point information for the previous upgra
de and maybe get unsaved configuration lost. Continue? [Y/N]:y
Verifying image file.......Done.
flash:/S10500-CMW710-BOOT-R2112.bin already exists on chassis 2
flash:/S10500-CMW710-SYSTEM-R2112.bin already exists on chassis 2
Decompressing file S10500-CMW710-BOOT-R2112.bin to flash:/S10500-CMW710-BOOT-R2112.b
in...........................................Done.
Decompressing file S10500-CMW710-SYSTEM-R2112.bin to flash:/S10500-CMW710-SYSTEM-R
2112.bin.......................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.......................Done.
Upgrade summary according to following table:
flash:/S10500-CMW710-BOOT-R2112.bin
Running Version New Version
Release 2111P01 Feature com
flash:/S10500-CMW710-SYSTEM-R2112.bin
Running Version New Version
Release 2111P01 Feature com
Chassis Slot Upgrade Way
2 1 Service Upgrade
2 3 Reboot
2 4 Reboot
2 6 Reboot
Upgrading software images to compatible versions. Continue? [Y/N]: y
# Standby设备完成重启后,使用display issu state查看ISSU升级的状态和Standby设备当前运行的软件版本。
<Master> display issu state
ISSU state: Loaded
Compatibility: Compatible
Work state: Normal
Upgrade method: Chassis by chassis
Upgraded chassis:
chassis 1
Current upgrading chassis: None
Previous version list:
boot: 7.1.045P22, Release 2111P01
system: 7.1.045, Release 2111P01
Previous software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Upgrade version list:
boot: 7.1.045P99, Feature com
system: 7.1.045, Feature com
Upgrade software images:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
# 确认Standby设备当前运行的是待升级的软件版本后,将Master设备切换成主设备。
<Master> issu run switchover
Upgrade summary according to following table:
flash:/S10500-CMW710-BOOT-R2112.bin
Running Version New Version
Release 2111P01 Feature com
flash:/S10500-CMW710-SYSTEM-R2112.bin
Running Version New Version
Release 2111P01 Feature com
Chassis Slot Switchover Way
1 1 Active standby process switchover
Upgrading software images to compatible versions. Continue? [Y/N]:y
//主备切换后,原Standby设备成为新的主设备。
# 使用display issu state查看是否切换完成。
<Master> display issu state
ISSU state: Switchover
Compatibility: Compatible
Work state: Normal
Upgrade method: Chassis by chassis
Upgraded chassis:
chassis 1
Current upgrading chassis: None
Previous version list:
boot: 7.1.045P22, Release 2111P01
system: 7.1.045, Release 2111P01
Previous software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Upgrade version list:
boot: 7.1.045P99, Feature com
system: 7.1.045, Feature com
Upgrade software images:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
//确认ISSU状态为Switchover后,可进行下一步操作。
# 对原主设备进行升级。
<Master> issu commit chassis 1
This operation will delete the rollback point information for the previous upgra
de and maybe get unsaved configuration lost. Continue? [Y/N]:y
Verifying image file.......Done.
flash:/S10500-CMW710-BOOT-R2112.bin already exists on chassis 1
flash:/S10500-CMW710-SYSTEM-R2112.bin already exists on chassis 1
Decompressing file S10500-CMW710-BOOT-R2112.bin to flash:/S10500-CMW710-BOOT-R2112.b
in...........................................Done.
Decompressing file S10500-CMW710-SYSTEM-R2112.bin to flash:/S10500-CMW710-SYSTEM-R
2112.bin.......................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.......................Done.
Upgrade summary according to following table:
flash:/S10500-CMW710-BOOT-R2112.bin
Running Version New Version
Release 2111P01 Feature com
flash:/S10500-CMW710-SYSTEM-R2112.bin
Running Version New Version
Release 2111P01 Feature com
Chassis Slot Upgrade Way
1 1 Service Upgrade
1 3 Reboot
1 4 Reboot
1 6 Reboot
Upgrading software images to compatible versions. Continue? [Y/N]: y
# Master设备重启后,使用display issu state查看ISSU升级的状态。
<Master> display issu state
ISSU state: Init
Compatibility: Compatible
Work state: Normal
Upgrade method: Chassis by chassis
Upgraded chassis: None
Current upgrading chassis: None
Current version list:
boot: 7.1.045P99, Feature com
system: 7.1.045, Feature com
Current software images:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
// 当ISSU状态为Init后,表明ISSU升级工作完成。
# 升级完成后,通过display install active命令查看设备当前运行的启动软件包版本,可以看到设备当前运行的启动软件包为R2112版本。
<Master> displayplay install active
Active packages on chassis 1 slot 1:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 3:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 4:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 6:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 1:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 3:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 4:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 6:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
无
如7.1 图4所示,IRF由两台成员设备组成,现要求通过ISSU方式进行全部成员设备启动软件包的升级,将设备启动软件包由R2111版本升级到R2112版本。
图4 ISSU不兼容升级组网图
本举例是在S10500-CMW710-R2111P01版本上进行配置和验证的。
升级前确保各成员设备的剩余存储空间大于等于新启动软件包大小的2倍。
# 从TFTP Server下载10500C.IPE包到Mster设备的根目录下,该IPE包中含有两个待升级启动软件包boot-R2112.bin包和system-R2112.bin包。
<Master> tftp 2.2.2.2 get 10500C.ipe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 43.8M 100 42.8M 0 0 159k 0 0:04:34 0:04:34 --:--:-- 165k
# 查看各成员设备当前运行的启动软件包。
<Master> display boot-loader
Software images on chassis 1 slot 1:
Current software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Main startup software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Backup startup software images:
None
Software images on chassis 2 slot 1:
Current software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Main startup software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Backup startup software images:
flash:/S10500-CMW710-BOOT-R2111.bin
flash:/S10500-CMW710-SYSTEM-R2111.bin
# 查看将要升级的软件包的软件版本与设备上当前运行的软件版本是否兼容,并预测软件包的升级策略。
<Master> display version comp-matrix file ipe flash:/10500C.ipe
Verifying image file........Done.
Boot image: S10500-CMW710-BOOT-R2112.bin
Version:
7.1.045P99
System image: S10500-CMW710-SYSTEM-R2112.bin
Version:
7.1.045-R2112
Version compatibility list:
7.1.045-R2112
Version dependency boot list:
7.1.045P99
Incompatible upgrade.
//根据显示信息Incompatible upgrade,本次ISSU升级为不兼容升级,升级过程中需要重启设备。
# 对Standby设备进行升级。
<Master> issu load file ipe flash:/10500C.ipe chassis 2
This operation will delete the rollback point information for the previous upgra
de and maybe get unsaved configuration lost. Continue? [Y/N]:y
Verifying image file.......Done.
flash:/S10500-CMW710-BOOT-R2112.bin already exists on chassis 2
flash:/S10500-CMW710-SYSTEM-R2112.bin already exists on chassis 2
Decompressing file S10500-CMW710-BOOT-R2112.bin to flash:/S10500-CMW710-BOOT-R2112.b
in...........................................Done.
Decompressing file S10500-CMW710-SYSTEM-R2112.bin to flash:/S10500-CMW710-SYSTEM-R211
2.bin...........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.......................Done.
Upgrade summary according to following table:
flash:/S10500-CMW710-BOOT-R2112.bin
Running Version New Version
Release 2111P01 Feature com
flash:/S10500-CMW710-SYSTEM-R2112.bin
Running Version New Version
Release 2111P01 Feature com
Chassis Slot Upgrade Way
2 1 Reboot
2 3 Reboot
2 4 Reboot
2 6 Reboot
Upgrading software images to compatible versions. Continue? [Y/N]: y
# Standby设备重启完成后,使用display issu state查看当前ISSU升级的状态和Standby设备当前运行的软件版本。
<Master> display issu state
ISSU state: Loaded
Compatibility: Incompatible
Work state: Normal
Upgrade method: Chassis by chassis
Upgraded chassis:
chassis 1
Current upgrading chassis: None
Previous version list:
boot: 7.1.045P22, Release 2111P01
system: 7.1.045, Release 2111P01
Previous software images:
flash:/10500-CMW710-BOOT-R2111.bin
flash:/10500-CMW710-SYSTEM-R2111.bin
Upgrade version list:
boot: 7.1.045P99, Feature com
system: 7.1.045, Feature com
Upgrade software images:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
# 确认Standby设备当前运行的是待升级的软件版本后,执行issu run switchover将Standby设备切换成主设备,同时Mster设备会加载新的启动软件包进行重启。
<Master> issu run switchover
Upgrade summary according to following table:
flash:/S10500-CMW710-BOOT-R2112.bin
Running Version New Version
Release 2111P01 Feature com
flash:/S10500-CMW710-SYSTEM-R2112.bin
Running Version New Version
Release 2111P01 Feature com
Chassis Slot Switchover Way
1 1 Active standby process switchover
Upgrading software images to compatible versions. Continue? [Y/N]:y
# 使用display issu state查看是否切换完成。
<Master> display issu state
ISSU state: Init
Compatibility: Incompatible
Work state: Normal
Upgrade method: Chassis by chassis
Upgraded chassis: None
Current upgrading chassis: None
Current version list:
boot: 7.1.045P99, Feature com
system: 7.1.045, Feature com
Current software images:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
//当ISSU状态显示为Init,表明本次ISSU升级结束。
# 升级完成后,通过display install active命令查看设备当前运行的启动软件包版本,可以看到设备当前运行的启动软件包为R2112版本。
<Master> displayplay install active
Active packages on chassis 1 slot 1:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 3:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 4:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 1 slot 6:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 1:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 3:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 4:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
Active packages on chassis 2 slot 6:
flash:/S10500-CMW710-BOOT-R2112.bin
flash:/S10500-CMW710-SYSTEM-R2112.bin
无
· H3C S10500系列交换机 基础配置指导-Release 211x系列
· H3C S10500系列交换机 基础配置命令参考-Release 211x系列
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!