• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

有没有大佬指导一下交换机路由器的拆堆叠升级详细步骤?

2022-12-10提问
  • 0关注
  • 0收藏,1817浏览
粉丝:0人 关注:31人

问题描述:

有没有大佬指导一下交换机路由器的拆堆叠升级详细步骤?

组网及组网描述:


4 个回答
HAHAHA 五段
粉丝:3人 关注:0人

升级流程:

1.先shutdown主框业务口和检测口,使得业务切换到备框,同时让客户测试网络

   关闭设备所有MAD检测

2.保存配置(irf分裂不要保存)

3.指定主框的升级版本

4.拔掉堆叠线,断电重启主框

5.待主框完全启动后,查看主框状态,所有板卡均在线后,shutdown备框业务口,打开主框端口(undo shutdown)

 此时业务会中断,让客户测试业务,业务正常则继续;不正常,立即将业务切换回备框

6.指定备框版本升级

7.将备框断电后,插上堆叠线,在将备框上电启动

8.查看设备状态,测试业务,保存配置


业务中断过程大概有1-2分钟,具体取决于关闭、开启端口的速度

暂无评论

粉丝:6人 关注:0人

如果可能申请窗口期,直接升吧

拆了升还得再堆起来


暂无评论

您好,请知:

建议申请窗口期操作。

以下是参考案例:

6.3.2  升级过程

1. 升级前准备

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

2. 下载软件包

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

3. 判断ISSU升级策略

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

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 1 slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 2 slot 0:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 2 slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

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

<Sysname> display version comp-matrix file boot flash:/boot-t0001016.bin system flash:/system-t0001016.bin feature flash:/feature-t0001016.bin

Verifying the file flash:/boot-t0001016.bin on chassis 1 slot 0..................................Done.

Verifying the file flash:/system-t0001016.bin on chassis 1 slot 0..................................Done.

Verifying the file flash:/feature-t0001016.bin on chassis 1 slot 0..................................Done.

Identifying the upgrade methods....Done.

 

  Chassis   Slot              Upgrade Way

  1         0                 Reboot

  1         1                 Reboot

  2         0                 Reboot

  2         1                 Reboot

以上显示信息表明,新版本软件包的升级方式是兼容升级,并需要设备重启。

4. 升级启动软件

# 升级从设备的软件包。

<Sysname> issu load file boot flash:/boot-t0001016.bin system flash:/system-t0001016.bin feature flash:/feature-t0001016.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

Copying file flash:/boot-t0001016.bin to chassis2#slot0#flash:/boot-t0001016.bin......Done.

Copying file flash:/system-t0001016.bin to chassis2#slot0#flash:/system-t0001016.bin........................Done.

Copying file flash:/feature-t0001016.bin to chassis2#slot0#flash:/feature-t0001016.bin......Done.

Verifying the file flash:/boot-t0001016.bin on chassis 2 slot 0...Done.

Verifying the file flash:/system-t0001016.bin on chassis 2 slot 0............Done.

Verifying the file flash:/feature-t0001016.bin on chassis 2 slot 0...Done.

Copying file flash:/boot-t0001016.bin to chassis2#slot1#flash:/boot-t0001016.bin......Done.

Copying file flash:/system-t0001016.bin to chassis2#slot1#flash:/system-t0001016.bin........................Done.

Copying file flash:/feature-t0001016.bin to chassis2#slot1#flash:/feature-t0001016.bin......Done.

Verifying the file flash:/boot-t0001016.bin on chassis 2 slot 1...Done.

Verifying the file flash:/system-t0001016.bin on chassis 2 slot 1............Done.

Verifying the file flash:/feature-t0001016.bin on chassis 2 slot 1...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Chassis   Slot              Upgrade Way

  2         0                 Reboot

  2         1                 Reboot

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

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

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Compatible

Work state: Normal

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Upgrade software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

从显示信息中可以看出,目前系统处于ISSU过程中的Loaded状态,该状态是一个稳定状态,等待进行下一步主备倒换操作;当前只有chassis2完成了从T0001015到T0001016版本的升级,chassis1还未升级。

# 进行ISSU主备倒换。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Chassis   Slot              Switchover Way

  1         0                 Master subordinate switchover

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

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

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Switchover

Compatibility: Compatible

Work state: Normal

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Upgrade software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

从显示信息中可以看出,目前系统处于ISSU过程中的Switchover状态,该状态也是一个稳定状态,表示已经完成了ISSU主备倒换的操作,等待进行下一步Commit操作;当前只有chassis2完成了从T0001015到T0001016版本的升级,chassis1还未升级。

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

<Sysname> issu commit chassis 1

Copying file flash:/boot-t0001016.bin to chassis1#slot1#flash:/boot-t0001016.bin......Done.

Copying file flash:/system-t0001016.bin to chassis1#slot1#flash:/system-t0001016.bin........................Done.

Copying file flash:/feature-t0001016.bin to chassis1#slot1#flash:/feature-t0001016.bin......Done.

Verifying the file flash:/boot-t0001016.bin on chassis 1 slot 1...Done.

Verifying the file flash:/system-t0001016.bin on chassis 1 slot 1...Done.

Verifying the file flash:/feature-t0001016.bin on chassis 1 slot 1...Done.

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Chassis   Slot              Upgrade Way

  1         0                 Reboot

  1         1                 Reboot

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

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

5. 确认ISSU升级完成。

# 查看ISSU状态。

<Sysname> display issu state

ISSU state: Init

Compatibility: Unknown

Upgrade method: Chassis by chassis

Upgraded chassis: None

Current upgrading chassis: None

Current version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Current software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

# 查看已激活的软件包

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

Active packages on chassis 1 slot 1:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

Active packages on chassis 2 slot 0:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

Active packages on chassis 2 slot 1:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

6.4  通过ISSU命令进行兼容升级(盒式设备)

说明

·     通过ISSU命令升级时,需要通过display version comp-matrix命令来判断新版本软件包的升级策略是兼容升级还是不兼容升级。

·     本章节以2台设备组成IRF进行举例。

·     不同设备的命令行提示信息可能略有差异,请以设备实际情况为准。

 

6.4.1  升级流程

图6-4 通过ISSU命令兼容升级流程图

 

6.4.2  升级过程

1. 升级前准备

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

2. 下载软件包

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

3. 判断ISSU升级策略

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

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on slot 2:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

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

<Sysname> display version comp-matrix file boot flash:/boot-t0001016.bin system flash:/system-t0001016.bin feature flash:/feature-t0001016.bin

Verifying the file flash:/boot-t0001016.bin on slot 1.......................Done.

Verifying the file flash:/system-t0001016.bin on slot 1................. .................Done.

Verifying the file flash:/feature-t0001016.bin on slot 1.................Done.

Identifying the upgrade methods....Done.

 

  Slot                        Upgrade Way

  1                           Reboot

  2                           Reboot

以上显示信息表明,新版本软件包的升级方式是兼容升级,并需要设备重启。

4. 升级启动软件

# 升级从设备的软件包。

<Sysname> issu load file boot flash:/boot-t0001016.bin system flash:/system-t0001016.bin feature flash:/feature-t0001016.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

Copying file flash:/boot-t0001016.bin to slot2#flash:/boot-t0001016.bin......Done.

Copying file flash:/system-t0001016.bin to slot2#flash:/system-t0001016.bin........................Done.

Copying file flash:/feature-t0001016.bin to slot2#flash:/feature-t0001016.bin......Done.

Verifying the file flash:/boot-t0001016.bin on slot 2...Done.

Verifying the file flash:/system-t0001016.bin on slot 2............Done.

Verifying the file flash:/feature-t0001016.bin on slot 2...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Slot                        Upgrade Way

  2                           Reboot

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

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

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Compatible

Work state: Normal

Upgrade method: Card by card

Upgraded slot:

  slot 2

Current upgrading slot: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Upgrade software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

从显示信息中可以看出,目前系统处于ISSU分步式升级过程中的Loaded状态,该状态是一个稳定状态,等待进行下一步主备倒换操作;当前只有slot2完成了从T0001015到T0001016版本的升级,slot1还未升级。

# 进行ISSU主备倒换。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Slot                        Switchover Way

  1                           Master subordinate switchover

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

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

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Switchover

Compatibility: Compatible

Work state: Normal

Upgrade method: Card by card

Upgraded slot:

  slot 2

Current upgrading slot: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Upgrade software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

从显示信息中可以看出,目前系统处于ISSU分步式升级过程中的Switchover状态,该状态也是一个稳定状态,表示已经完成了ISSU主备倒换的操作,等待进行下一步Commit操作;当前只有slot2完成了从T0001015到T0001016版本的升级,slot1还未升级。

# 升级主设备。

<Sysname> issu commit slot 1

Upgrade summary according to following table:

 

flash:/boot-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/system-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

  Slot                        Upgrade Way

  1                           Reboot

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

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

5. 确认ISSU升级完成。

# 查看ISSU状态。

<Sysname> display issu state

ISSU state: Init

Compatibility: Unknown

Work state: Normal

Upgrade method: Card by card

Upgraded slot: None

Current upgrading slot: None

Current version list:

  boot: 7.1.070, Test 0001016

  system: 7.1.070, Test 0001016

  feature: 7.1.070, Test 0001016

Current software images:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

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

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

Active packages on slot 2:

  flash:/boot-t0001016.bin

  flash:/system-t0001016.bin

  flash:/feature-t0001016.bin

从显示信息中可以看出,目前系统处于ISSU分步式升级过程中的Init状态,表示ISSU升级完成,且所有激活的软件包版本均为T0001016,升级成功。

6.5  通过ISSU命令进行不兼容升级(框式设备)

说明

·     通过ISSU命令升级时,需要通过display version comp-matrix命令来判断新版本软件包的升级策略是兼容升级还是不兼容升级。

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

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

·     不同设备的命令行提示信息可能略有差异,请以设备实际情况为准。

 

6.5.1  升级流程

图6-5 通过ISSU命令不兼容升级流程图

 

6.5.2  升级过程

1. 升级前准备

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

2. 下载软件包

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

3. 判断ISSU升级策略

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

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 1 slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 2 slot 0:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on chassis 2 slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

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

<Sysname> display version comp-matrix file boot flash:/boot-t0001017.bin system flash:/system-t0001017.bin feature flash:/feature-t0001017.bin

Verifying the file flash:/boot-t0001017.bin on chassis 1 slot 0..................................Done.

Verifying the file flash:/system-t0001017.bin on chassis 1 slot 0..................................Done.

Verifying the file flash:/feature-t0001017.bin on chassis 1 slot 0..................................Done.

Identifying the upgrade methods....Done.

 

Incompatible upgrade.

以上显示信息表明,新版本软件包的升级方式是不兼容升级。

4. 升级启动软件

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

<Sysname> issu load file boot flash:/boot-t0001017.bin system flash:/system-t0001017.bin feature flash:/feature-t0001017.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

Copying file flash:/boot-t0001017.bin to chassis2#slot0#flash:/boot-t0001017.bin......Done.

Copying file flash:/system-t0001017.bin to chassis2#slot0#flash:/system-t0001017.bin........................Done.

Copying file flash:/feature-t0001017.bin to chassis2#slot0#flash:/feature-t0001017.bin......Done.

Verifying the file flash:/boot-t0001017.bin on chassis 2 slot 0...Done.

Verifying the file flash:/system-t0001017.bin on chassis 2 slot 0............Done.

Verifying the file flash:/feature-t0001017.bin on chassis 2 slot 0...Done.

Copying file flash:/boot-t0001017.bin to chassis2#slot1#flash:/boot-t0001017.bin......Done.

Copying file flash:/system-t0001017.bin to chassis2#slot1#flash:/system-t0001017.bin........................Done.

Copying file flash:/feature-t0001017.bin to chassis2#slot1#flash:/feature-t0001017.bin......Done.

Verifying the file flash:/boot-t0001017.bin on chassis 2 slot 1...Done.

Verifying the file flash:/system-t0001017.bin on chassis 2 slot 1............Done.

Verifying the file flash:/feature-t0001017.bin on chassis 2 slot 1...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/boot-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/system-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/feature-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

  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.

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Incompatible

Work state: Normal

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001017

  system: 7.1.070, Test 0001017

  feature: 7.1.070, Test 0001017

Upgrade software images:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

从显示信息中可以看出,目前系统处于ISSU升级过程中的Loaded状态,该状态是一个稳定状态,等待进行下一步主备倒换操作;当前只有chassis2完成了从T0001015到T0001017版本的升级,chassis1还未升级。

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

<Sysname> issu run switchover

Copying file flash:/boot-t0001017.bin to chassis1#slot1#flash:/boot-t0001017.bin......Done.

Copying file flash:/system-t0001017.bin to chassis1#slot1#flash:/system-t0001017.bin........................Done.

Copying file flash:/feature-t0001017.bin to chassis1#slot1#flash:/feature-t0001017.bin......Done.

Verifying the file flash:/boot-t0001017.bin on chassis 1 slot 1...Done.

Verifying the file flash:/system-t0001017.bin on chassis 1 slot 1............Done.

Verifying the file flash:/feature-t0001017.bin on chassis 1 slot 1...Done.

Upgrade summary according to following table:

 

flash:/boot-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/system-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/feature-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

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

5. 确认ISSU升级完成。

# 查看ISSU状态。

<Sysname> display issu state

ISSU state: Init

Compatibility: Unknown

Work state: Normal

Upgrade method: Chassis by chassis

Upgraded chassis: None

Current upgrading chassis: None

Current version list:

  boot: 7.1.070, Test 0001017

  system: 7.1.070, Test 0001017

  feature: 7.1.070, Test 0001017

Current software images:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

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

<Sysname> display install active

Active packages on chassis 1 slot 0:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

Active packages on chassis 1 slot 1:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

Active packages on chassis 2 slot 0:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

Active packages on chassis 2 slot 1:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

6.6  通过ISSU命令进行不兼容升级(盒式设备)

说明

·     通过ISSU命令升级时,需要通过display version comp-matrix命令来判断新版本软件包的升级策略是兼容升级还是不兼容升级。

·     本章节以2台设备组成IRF进行举例。

·     不同设备的命令行提示信息可能略有差异,请以设备实际情况为准。

 

6.6.1  升级流程

图6-6 通过ISSU命令不兼容升级流程图

 

6.6.2  升级过程

1. 升级前准备

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

2. 下载软件包

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

3. 判断ISSU升级策略

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

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Active packages on slot 2:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

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

<Sysname> display version comp-matrix file boot flash:/boot-t0001017.bin system flash:/system-t0001017.bin feature flash:/feature-t0001017.bin

Verifying the file flash:/boot-t0001017.bin on slot 1.......................Done.

Verifying the file flash:/system-t0001017.bin on slot 1................. .................Done.

Verifying the file flash:/feature-t0001017.bin on slot 1.................Done.

Identifying the upgrade methods....Done.

 

Incompatible upgrade.

以上显示信息表明,新版本软件包的升级方式是不兼容升级。

4. 升级启动软件

# 升级从设备的软件包。

<Sysname> issu load file boot flash:/boot-t0001017.bin system flash:/system-t0001017.bin feature flash:/feature-t0001017.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

Copying file flash:/boot-t0001017.bin to slot2#flash:/boot-t0001017.bin......Done.

Copying file flash:/system-t0001017.bin to slot2#flash:/system-t0001017.bin........................Done.

Copying file flash:/feature-t0001017.bin to slot2#flash:/feature-t0001017.bin......Done.

Verifying the file flash:/boot-t0001017.bin on slot 2...Done.

Verifying the file flash:/system-t0001017.bin on slot 2............Done.

Verifying the file flash:/feature-t0001017.bin on slot 2...Done.

Identifying the upgrade methods….Done.

Upgrade summary according to following table:

 

flash:/boot-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/system-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/feature-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

  Slot                        Upgrade Way

  2                           Reboot

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

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

# 确定系统处于稳定状态。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Incompatible

Work state: Normal

Upgrade method: Card by card

Upgraded slot:

  slot 2

Current upgrading slot: None

Previous version list:

  boot: 7.1.070, Test 0001015

  system: 7.1.070, Test 0001015

  feature: 7.1.070, Test 0001015

Previous software images:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

Upgrade version list:

  boot: 7.1.070, Test 0001017

  system: 7.1.070, Test 0001017

  feature: 7.1.070, Test 0001017

Upgrade software images:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

从显示信息中可以看出,目前系统处于ISSU升级过程中的Loaded状态,该状态是一个稳定状态,等待进行下一步主备倒换操作;当前只有slot2完成了从T0001015到T0001017版本的升级,slot1还未升级。

# 进行ISSU主备倒换。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/boot-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/system-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

flash:/feature-t0001017.bin

  Running Version             New Version

  Test 0001015                Test 0001017

 

  Slot                        Switchover Way

  1                           Master subordinate switchover

5. 确认ISSU升级完成。

# 查看ISSU状态。

<Sysname> display issu state

ISSU state: Init

Compatibility: Unknown

Work state: Normal

Upgrade method: Card by card

Upgraded slot: None

Current upgrading slot: None

Current version list:

  boot: 7.1.070, Test 0001017

  system: 7.1.070, Test 0001017

  feature: 7.1.070, Test 0001017

Current software images:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

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

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

Active packages on slot 2:

  flash:/boot-t0001017.bin

  flash:/system-t0001017.bin

  flash:/feature-t0001017.bin

从显示信息中可以看出,目前系统处于ISSU分步式升级过程中的Init状态,表示ISSU升级完成,且所有激活的软件包版本均为T0001017,升级成功。

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明