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

01-基础配置命令参考

目录

08-ISSU命令

本章节下载 08-ISSU命令  (245.78 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S12500/S12500-S/Command/Command_Manual/H3C_S12500-S_CR-R7178-6W100/01/201601/910889_30005_0.htm

08-ISSU命令


1 ISSU

1.1  ISSU配置命令

1.1.1  display install active

display install active命令用来显示当前系统中处于激活状态的软件包的相关信息。

【命令】

独立运行模式:

display install active [ slot slot-number ] [ verbose ]

IRF模式:

display install active [ chassis chassis-number slot slot-number ] [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

verbose:显示处于激活状态的软件包的详细信息,包括软件包的名称、基本信息和所包含的组件。不指定该参数时,仅显示软件包的名称。

【举例】

# 显示设备上处于激活状态的软件包的简要信息。(独立运行模式)

<Sysname> display install active

Active packages on slot 6:

  flash:/boot.bin

  flash:/system.bin

  flash:/feature.bin

# 显示设备上处于激活状态的软件包的简要信息。(IRF模式)

<Sysname> display install active

Active packages on chassis 1 slot 6:

  flash:/boot.bin

  flash:/system.bin

  flash:/feature.bin

# 显示设备上处于激活状态的软件包的详细信息。(独立运行模式)

<Sysname> display install active verbose

Active packages on slot 6:

flash:/boot.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: boot

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: boot

 Description: boot package

 

flash:/system.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: system

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: system

 Description: system package

 

flash:/feature.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: test

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: test

 Description: test package

# 显示设备上处于激活状态的软件包的详细信息。(IRF模式)

<Sysname> display install active verbose

Active packages on chassis 1 slot 6:

flash:/boot.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: boot

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: boot

 Description: boot package

 

flash:/system.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: system

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: system

 Description: system package

 

flash:/feature.bin

 [Package]

 Vendor: XXX

 Product: xxxx

 Service name: test

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu

 [Component]

 Component: test

 Description: test package

表1-1 display install active命令显示信息描述表

字段

描述

Active packages on slot n

某单板上处于激活状态的软件包的相关信息,其中n表示该单板所在的槽位号(独立运行模式)

Active packages on chassis m slot n

某单板上处于激活状态的软件包的相关信息,其中m表示设备在IRF中的成员编号,n表示成员设备上该单板所在的槽位号(IRF模式)

flash:/boot.bin

软件包的名称

[Package]

软件包的信息

Vendor

生产厂商

Product

产品名称

Service name

软件包所包含的服务名称:

·     如果显示为boot,表示该软件包为Boot包

·     如果显示为system,表示该软件包为System包

·     如果显示为patch,表示该软件包为补丁包

·     如果显示为其它值,则表示该软件包为提供某项功能的Feature包

Platform version

平台软件版本号

Product version

产品软件版本号

Supported board

软件包支持的单板类型:

·     mpu表示主控板

·     lpu表示业务板

·     sfc表示网板

[Component]

组件信息,表示软件包的组成部分

Component

组件的名称

Description

组件的描述信息

 

【相关命令】

·     install active

1.1.2  display install backup

display install backup命令用来显示设备下次启动时使用的备用软件包的相关信息。

【命令】

独立运行模式:

display install backup [ slot slot-number ] [ verbose ]

IRF模式:

display install backup [ chassis chassis-number slot slot-number ] [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

verbose:显示详细信息,包括软件包的名称、基本信息和所包含的组件。不指定该参数时,仅显示软件包的名称。

【使用指导】

设备下次启动时使用的软件包的名称会记录在启动软件包列表中,启动软件包列表分为主用启动软件包列表和备用启动软件包列表,可以分别配置。

·     当设备启动时,优先使用主用启动软件包列表中的软件包。

·     如果主用启动软件包列表中的Boot包或System包不存在或者损坏,再使用备用启动软件包列表中的软件包。

执行boot-loader file命令可以修改设备下次启动时使用的备用软件包列表。

【举例】

# 显示设备下次启动时使用的备用软件包的相关信息。(独立运行模式)

<Sysname> display install backup

Backup startup software images on slot 6:

  flash:/boot-r7180.bin

  flash:/system-r7180.bin

# 显示设备下次启动时使用的备用软件包的相关信息。(IRF模式)

<Sysname> display install backup

Backup startup software images on chassis 1 slot 6:

  flash:/boot-r7180.bin

  flash:/system-r7180.bin

# 显示设备下次启动时使用的备用软件包的详细信息。

<Sysname> display install backup verbose

Backup startup software images on slot 6:

 flash:/boot-r7180.bin

 [Package]

 Vendor: H3C

 Product: xxxx

 Service name: boot

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: boot

 Description: boot package

 

 flash:/system-r7180.bin

 [Package]

 Vendor: H3C

 Product: xxxx

 Service name: system

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: system

 Description: system package

本命令显示信息的描述请参见表1-1

【相关命令】

·     boot-loader file(基础配置命令参考/软件升级)

·     display install committed

1.1.3  display install committed

display install committed命令用来显示设备下次启动时使用的主用软件包的相关信息。

【命令】

独立运行模式:

display install committed [ slot slot-number ] [ verbose ]

IRF模式:

display install committed [ chassis chassis-number slot slot-number ] [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

verbose:显示详细信息,包括软件包的名称、基本信息和所包含的组件。不指定该参数时,仅显示软件包的名称。

【使用指导】

在设备上执行install commit命令确认运行当前的软件包后,这些软件包会被列入主用下次启动软件包,以便设备重启后,这些软件包能够继续生效。

执行boot-loader file命令可以修改设备下次启动时使用的主用软件包列表。

【举例】

# 显示设备下次启动时使用的主用软件包的相关信息。

<Sysname> display install committed

Committed packages on slot 6:

 flash:/boot-r7180.bin

 flash:/system-r7180.bin

 flash:/feature.bin

# 显示设备下次启动时使用的主用软件包的详细信息。

<Sysname> display install committed verbose

Committed packages on slot 6:

 flash:/boot-r7180.bin

 [Package]

 Vendor: H3C

 Product: xxxx

 Service name: boot

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: boot

 Description: boot package

 

 flash:/system-r7180.bin

 [Package]

 Vendor: H3C

 Product: xxxx

 Service name: system

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: system

 Description: system package

 

flash:/ssh-feature.bin

 [Package]

 Vendor: H3C

 Product: xxxx

 Service name: ssh

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: ssh

 Description: ssh package

本命令显示信息的描述请参见表1-1

【相关命令】

·     boot-loader file(基础配置命令参考/软件升级)

·     display install backup

·     install commit

1.1.4  display install inactive

display install inactive命令用来显示存储介质根目录下、没有被激活的所有软件包的相关信息。

【命令】

独立运行模式:

display install inactive [ slot slot-number ] [ verbose ]

IRF模式:

display install inactive [ chassis chassis-number slot slot-number ] [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

verbose:显示详细信息,包括软件包的名称、基本信息和所包含的组件。不指定该参数时,仅显示软件包的名称。

【举例】

# 显示存储介质根目录下、没有被激活的所有软件包的简要信息。

<Sysname> display install inactive

Inactive packages on slot 6:

 flash:/ssh-feature.bin

# 显示存储介质根目录下、没有被激活的所有软件包的详细信息。

<Sysname> display install inactive verbose

Inactive packages on slot 6:

flash:/ssh-feature.bin

 [Package]

 Vendor: H3C

 Product: XXXX

 Service name: ssh

 Platform version: 7.1.045

 Product version: Release 7180

 Supported board: mpu lpu

 [Component]

 Component: ssh

 Description: ssh package

本命令显示信息的描述请参见表1-1

【相关命令】

·     install deactivate

1.1.5  display install ipe-info

display install ipe-info命令用来显示IPE文件包含的软件包列表。

【命令】

display install ipe-info ipe-filename

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

ipe-filename:表示IPE文件名,以.ipe作为后缀名,从存储介质名开始为1~63个字符的字符串(包括存储介质名在内),不区分大小写。如果该IPE文件不存在,命令执行失败。

【使用指导】

IPE文件是一个或多个软件包的集合。用户获得该IPE文件后,可以选择其中的软件包进行升级。

当配置该命令时,命令中指定的IPE文件必须放在存储介质的根目录下,文件名中必须包含存储介质的名称,形如flash:/xx.ipe或者slotn#flash:/xx.ipe,n为备用主控板所在的槽位号。(独立运行模式)

当配置该命令时,命令中指定的IPE文件必须放在存储介质的根目录下,文件名中必须含存储介质的名称,形如flash:/xx.ipe或者chassism#slotn#flash:/startup-boot.ipe,chassism#slotn用于指定全局备用主控板或者PEX设备的虚拟槽位号。(IRF模式)

【举例】

# 显示flash:/test.ipe的IPE信息。

<Sysname> display install ipe-info flash:/test.ipe

Verifying the file flash:/test.ipe on slot 6.....Done.

H3C Device images in IPE:

  boot.bin

  system.bin

【相关命令】

·     display install package

1.1.6  display install job

display install job命令用来显示系统中正在执行的激活、卸载操作。

【命令】

display install job

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【举例】

# 显示系统中正在执行的激活、卸载三种ISSU操作。(独立运行模式)

<Sysname> display install job

 JobID:5

  Action:install activate flash:/ssh-feature.bin on slot 6

以上显示信息表明:设备正在执行install activate flash:/ssh-feature.bin slot 6操作。

# 显示系统中正在执行的激活、卸载三种ISSU操作。(IRF模式)

<Sysname> display install job

 JobID:5

  Action:install activate flash:/ssh-feature.bin on chassis 1 slot 6

以上显示信息表明:设备正在执行install activate flash:/ssh-feature.bin chassis 1 slot 6操作。

1.1.7  display install log

display install log命令用来显示与ISSU升级相关的日志。

【命令】

display install log [ log-id ] [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

log-id:显示指定升级日志的信息。log-id表示升级日志的编号,不指定该参数时,则显示所有升级日志的信息。

verbose:表示显示日志的详细信息。不指定该参数时,仅显示日志的摘要信息。

【使用指导】

ISSU日志记录了软件包历史操作信息,每当用户执行一次安装、升级、卸载、删除、取消操作时,都会自动产生一条日志信息,记录下该操作的过程,以及操作结果是成功还是失败。每条日志均分配一个全局唯一的ID。

设备最多可保存50条ISSU日志,超出该规格时新日志会覆盖最老的日志。

【举例】

# 显示所有显示与软件包升级相关的日志。

<Sysname> display install log

Install job 1 started by user root at 04/28/2001 08:39:29.

Job 1 completed successfully at 04/28/2001 08:39:30.

Install job 1 started by user root at 04/28/2001 08:39:29.

    Install activate flash:/ssh.bin on slot 7

Job 1 completed successfully at 04/28/2001 08:39:30.

Install job 1 started by user root at 04/28/2001 08:39:29.

Job 1 completed successfully at 04/28/2001 08:39:30.

-----------------------------------------------------------

Install job 2 started by user root at 04/28/2001 08:40:29.

Job 2 completed successfully at 04/28/2001 08:40:30.

Install job 2 started by user root at 04/28/2001 08:40:29.

    Install activate flash:/route.bin on slot 7

Job 2 completed successfully at 04/28/2001 08:40:30.

Install job 2 started by user root at 04/28/2001 08:40:29.

Job 2 completed successfully at 04/28/2001 08:40:30.

# 显示系统中编号为1的软件包升级日志的详细信息。

<Sysname> display install log 1 verbose

Install job 1 started by user root at 04/28/2001 08:39:29.

Job 1 completed successfully at 04/28/2001 08:39:30.

Install job 1 started by user root at 04/28/2001 08:39:29.

    Install activate flash:/ssh.bin on slot 7

Job 1 completed successfully at 04/28/2001 08:39:30.

Install job 1 started by user root at 04/28/2001 08:39:29.

Job 1 completed successfully at 04/28/2001 08:39:30.

 

Detail of activating packages on slot 7.

    Get upgrade policy successfully.

 

Detail of activating packages on slot 7.

    Uncompress package to system successfully.

    Remove files from system successfully.

表1-2 display install log命令显示信息描述

字段

描述

Install job 1 started by user root at 04/28/2001 08:39:29.

ISSU动作的执行者和执行时间

Job 1 completed successfully at 04/28/2001 08:39:30.

ISSU动作的完成时间

Install activate flash:/ssh.bin on slot 7

执行的ISSU动作

Detail of activating packages on slot 7.

激活包动作的详细信息

Get upgrade policy successfully

表示升级决策处理成功

Uncompress package to system successfully

解压软件包文件到系统成功

Remove files from system successfully

从系统中删除文件成功

 

【相关命令】

·     reset install log-history oldest

1.1.8  display install package

display install package命令用来显示软件包的相关信息。

【命令】

display install package { filename | all } [ verbose ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

filename:表示软件包的文件名,以.bin作为后缀名,从存储介质名开始为1~63个字符的字符串,不区分大小写。

all:表示主用主控板上存储介质根目录下的所有软件包。(独立运行模式)

all:表示全局主用主控板上存储介质根目录下的所有软件包。(IRF模式)

verbose:显示软件包的基本信息和软件包所包含的组件。不指定该参数时,仅显示软件包的基本信息。

【使用指导】

当配置该命令时,命令中指定的软件包必须放在存储介质的根目录下,文件名中必须含存储介质的名称,形如flash:/xx.bin或chassism#slotn#flash:/startup-boot.bin,chassism#slotn用于指定全局备用主控板或者PEX设备的虚拟槽位号。

【举例】

# 显示软件包system.bin的相关信息。

<Sysname> display install package flash:/system.bin

  flash:/system.bin

  [Package]

  Vendor: H3C

  Product: xxxx

  Service name: system

  Platform version: 7.1.045

  Product version: Release 7180

  Supported board: mpu

# 显示软件包system.bin的详细信息。

<Sysname> display install package flash:/system.bin verbose

  flash:/system.bin

  [Package]

  Vendor: H3C

  Product: xxxx

  Service name: system

  Platform version: 7.1.045

  Product version: Release 7180

  Supported board: mpu

  [Component]

  Component: system

  Description: system package

本命令显示信息的描述请参见表1-1

1.1.9  display install which

display install which命令用来显示一个组件或文件的所属软件包,以及该软件包的相关信息。

【命令】

独立运行模式:

display install which { component name | file filename } [ slot slot-number ]

IRF模式:

display install which { component name | file filename } [ chassis chassis-number slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

component name:软件包所包含的组件的名称。

file filename:软件包所包含的文件的名称,为1~63个字符的字符串,不区分大小写。必须为纯文件名的形式。系统查询时,只有名称完全相同(除了大小写),才认为匹配成功。

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

【使用指导】

当软件包运行错误,系统提示xx组件或者xx文件运行错误的时候,可以根据组件/文件的名字使用该命令查找它属于哪个软件包,从而帮助进一步定位是否是软件包本身有缺陷。

执行该命令后,系统会扫描指定slot存储介质的根目录下所有软件包,将包含该组件/文件的软件包都依次显示。

【举例】

# 显示文件sshc.cli属于哪个软件包以及该软件包的相关信息。

<Sysname> display install which file sshc.cli

File sshc.cli is in following packages on slot 6:

Verifying the file flash:/system.bin on slot 6...Done.

Verifying the file flash:/boot.bin on slot 6...Done.

  flash:/system.bin

  [Package]

  Vendor: xxx

  Product: xxxx

  Service name: ssh

  Platform version: 7.1.045

  Product version: Release 7180

  Supported board: mpu, lpu, sfc

表1-3 display install which命令显示信息描述表

字段

描述

Verifying the file flash:/xx.bin on slot n...Done.

验证文件是否合法(独立运行模式)

Verifying the file flash:/xx.bin on chassis m slot n...Done.

验证文件是否合法(IRF模式)

 

本命令其他显示信息的描述请参见表1-1

1.1.10  display issu state

display issu state命令用来显示当前ISSU升级所处的状态,以及ISSU升级的相关信息。

【命令】

display issu state

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【使用指导】

issu命令升级需要经过一系列的操作步骤,升级过程中有严格的步骤要求,执行升级步骤会导致ISSU状态的变化,通过该命令的显示信息可以帮助管理员确定下一步需执行的操作。

该命令不能显示install命令升级过程中设备所处的状态,因为install命令升级过程没有用到状态机。

【举例】

# 当前设备没有ISSU升级,显示ISSU状态。

<Sysname> display issu state

ISSU state: Init

Compatibility: Unknown

Work state: Independent active

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.045, Release 7148

  system: 7.1.045, Release 7148

  ssh: 7.1.045, Release 7148

Previous software images:

  flash:/boot.bin

  flash:/system.bin

  flash:/ssh.bin

Upgrade version list:

  system: 7.1.045, Release 7180

  ssh: 7.1.045, Release 7180

Upgrade software images:

  flash:/system04.bin

  flash:/ssh04.bin

# issu load命令执行过程中,显示ISSU状态。

<Sysname> display issu state

ISSU state: Loading

Compatibility: Incompatible

Work state: Independent active

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.045, Release 7148

  system: 7.1.045, Release 7148

  ssh: 7.1.045, Release 7148

Previous software images:

  flash:/boot.bin

  flash:/system.bin

  flash:/ssh.bin

Upgrade version list:

  system: 7.1.045, Release 7180

  ssh: 7.1.045, Release 7180

Upgrade software images:

  flash:/system04.bin

  flash:/ssh04.bin

# 执行issu load命令后,在原主设备上显示ISSU状态。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Incompatible

Work state: Independent active

Upgrade method: Chassis by chassis

Upgraded chassis:

  chassis 2

Current upgrading chassis: None

Previous version list:

  boot: 7.1.045, Release 7148

  system: 7.1.045, Release 7148

  ssh: 7.1.045, Release 7148

Previous software images:

  flash:/boot.bin

  flash:/system.bin

  flash:/ssh.bin

Upgrade version list:

  system: 7.1.045, Release 7180

  ssh: 7.1.045, Release 7180

Upgrade software images:

  flash:/system04.bin

  flash:/ssh04.bin

表1-4 display issu state命令显示信息描述表

字段

描述

ISSU state

ISSU升级状态,取值可能为:

·     Init:表示还没有开始ISSU升级或者ISSU升级已经完成

·     Loading:表示正在执行issu load操作

·     Loaded:表示issu load操作完成

·     Switching:表示正在执行issu run switchover操作

·     Switchover:表示issu run switchover操作完成

·     Accepted:表示issu accept操作完成

·     Committing:表示正在执行issu commit操作

·     Unknown:在非原主用主控板上查看,表示设备正在升级过程中

Compatibility

版本兼容性检查结果,取值可能为:

·     Compatible:表示兼容升级

·     Incompatible:表示不兼容升级

·     Unknown:没有升级

Work state

设备的工作模式,取值可能为:

·     Normal:表示正常模式

·     Independent active:表示独立主控模式。当升级到不兼容版本时,先升级的备用主控板就会进入独立主控模式。该模式使得同一设备上的不同主控板可以运行不同的软件版本

Upgrade method

升级方式,取值可能为:Chassis by chassis:在IRF中多成员设备运行的情况下,表示以成员设备为单位进行升级,先升级备设备,再升级原主设备

Current version list

设备没有升级,表示当前系统软件版本

Current software images

设备没有升级,表示当前运行软件包的名称

Previous version list

进行ISSU升级前的系统软件版本

Unknown:不兼容升级的时候,在非原主用主控板上查看,表示设备正在升级过程中

Previous software images

进行ISSU升级前版本文件

Unknown:不兼容升级的时候,在非原主用主控板上查看,表示设备正在升级过程中

Upgrade version list

正在ISSU升级的目标版本

Unknown:不兼容升级的时候,在非原主用主控板上查看,表示设备正在升级过程中

Upgrade software images

正在ISSU升级中用到的目标文件

Unknown:不兼容升级的时候,在非原主用主控板上查看,表示设备正在升级过程中

 

【相关命令】

·     issu accept

·     issu commit

·     issu load

·     issu run switchover

1.1.11  display version comp-matrix

display version comp-matrix命令用来显示软件版本兼容信息。

【命令】

display version comp-matrix

display version comp-matrix file { boot filename | system filename | feature filename&<1-30> } *

display version comp-matrix file ipe ipe-filename

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

【参数】

boot:表示Boot包。

system:表示System包。

feature:表示Feature包。

filename:表示软件包的文件名,以.bin作为后缀名,为1~63个字符的字符串,不区分大小写。&<1-30>表示前面的参数最多可以输入30次。

ipe ipe-filename:IPE文件名,以.ipe作为后缀名,为1~63个字符的字符串,不区分大小写。

【使用指导】

·     当配置该命令时,命令中指定的软件包/IPE文件必须放在主用主控板存储介质主分区的根目录下,文件名中必须且只能包含存储介质的名称,不能包含slot的信息,形如flash:/xx.bin(flash:/xx.ipe)。(独立运行模式)

·     当配置该命令时,命令中指定的软件包/IPE文件必须放在全局主用主控板存储介质主分区的根目录下,文件名中必须且只能包含存储介质的名称,不能包含chassis和slot的信息,形如flash:/xx.bin(flash:/xx.ipe)。(IRF模式)

·     该命令只能显示父设备的软件包之间的兼容性,以及PEX设备的软件包之间的兼容性,不能判断父设备和PEX设备的软件包是否兼容。请通过软件版本说明书来判断父设备和PEX设备的软件包是否兼容。

·     在IRF3组网环境,本设备下挂PEX设备的情况下,使用该命令,如果不指定文件名,则分别显示父设备以及PEX设备当前运行版本的兼容性信息。

·     在IRF3组网环境下,要显示PEX设备升级软件包的兼容信息时,请先使用issu pex命令指定PEX设备的升级软件包,再使用该命令,并且filename指定为父设备上的升级软件包。此时,会显示父设备上该软件包的兼容性信息,PEX设备上issu pex命令指定软件包的兼容性信息,以及从当前运行版本升级到指定软件包版本需要采用的升级方式。只要父设备上有一个软件包不兼容,或者PEX设备上有一个软件包不兼容,均判定为不兼容升级方式,需要重启整个IRF3系统。

【举例】

# 显示设备当前正在使用的软件包的兼容信息。

<Sysname> display version comp-matrix

Boot image: flash:/cmw710-boot-r7180.bin

  Version:

  7.1.045

 

System image: flash:/cmw710-system-r7180.bin

  Version:

  V700R001B45D001

  Version compatibility list:

  V700R001B45D001

  Version dependency boot list:

  7.1.045

 

Feature image: flash:/cmw710-cfa-r7180.bin

  Version:

  V700R001B45D003

  Version compatibility list:

  V700R001B45D003

  Version dependency system list:

  V700R001B45D001

  V700R001B45D002

# 显示文件flash:/boot-e2205.bin、flash:/system-e2205.bin、flash:/dhcp-e2205.re.bin和当前运行软件包的兼容信息。(不兼容版本显示信息举例)

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

Verifying the flash:/dhcp-e2205.re.bin on slot 7............Done.

Verifying the file flash:/boot-e2205.bin on slot 7............Done.

Verifying the file flash:/system-e2205.bin on slot 7............Done.

Boot image: flash:/boot-e2205.bin

  Version:

  7.1.045

 

System image: flash:/system-e2205.bin

  Version:

  V200R001B45D012

  Version compatibility list:

  V200R001B45D012

  Version dependency boot list:

  7.1.045

 

Feature image: flash:/dhcp-e2205.re.bin

  Version:

  V200R001B45D012

  Version compatibility list:

  V200R001B45D012

  Version dependency system list:

  V200R001B45D012

  V200R001B45D014

Incompatible upgrade.

# 查看当前软件版本和cmw710-cfa-r7180.bin软件版本的兼容性信息。(兼容版本显示信息举例)(独立运行模式)

<Sysname> display version comp-matrix file feature flash:/cmw710-cfa-r7180.bin

Verifying the file flash:/boot-e2205.bin system on slot 6............Done.

Feature image: flash:/cmw710-cfa-r7180.bin

  Version:

  V700R001B45D002

  Version compatibility list:

  V700R001B45D001

  V700R001B45D002

  Version dependency system list:

  V700R001B45D001

  V700R001B45D002

 

  Slot                        Upgrade Way

  6                           Service Upgrade

  7                           Service Upgrade

 

Influenced service according to following table on slot 6:

flash:/cmw710-cfa-a7125.bin

    CFA

 

Influenced service according to following table on slot 7:

flash:/cmw710-cfa-a7125.bin

    CFA

# 查看当前软件版本和cmw710-cfa-r7180.bin软件版本的兼容性信息。(兼容版本显示信息举例)(IRF模式)

<Sysname> display version comp-matrix file feature flash:/cmw710-cfa-r7180.bin

Verifying the file flash:/cmw710-cfa-r7180.bin system on chassis 1 slot 6............Done.

Feature image: flash:/cmw710-cfa-r7180.bin

  Version:

  V700R001B45D002

  Version compatibility list:

  V700R001B45D001

  V700R001B45D002

  Version dependency system list:

  V700R001B45D001

  V700R001B45D002

 

  Chassis   Slot              Upgrade Way

  1         6                 Service Upgrade

  1         7                 Service Upgrade

  2         6                 Service Upgrade

  2         7                 Service Upgrade

 

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

flash:/cmw710-cfa-r7180.bin

    CFA

 

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

flash:/cmw710-cfa-r7180.bin

    CFA

 

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

flash:/cmw710-cfa-r7180.bin

    CFA

 

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

flash:/cmw710-cfa-r7180.bin

    CFA

# 显示父设备和PEX设备当前正在使用的软件包的兼容信息。

<Sysname> display version comp-matrix

Boot image: flash:/cmw710-boot-r7180.bin

  Version:

  7.1.045

 

System image: flash:/cmw710-system-r7180.bin

  Version:

  D2404001

  Version compatibility list:

  D2404001

  Version dependency boot list:

  7.1.045

 

Compatible info of S5120HI:

Boot image: flash:/rpu-s5120hi-boot.bin

  Version:

  7.1.045

 

System image: flash:/rpu-s5120hi-system.bin

  Version:

  T2206

  Version compatibility list:

  T2206

  Version dependency boot list:

  7.1.045

# 查看父设备文件cmw710-cfa-a0041.bin的兼容信息,PEX设备(设备型号S6300HI)文件flash:/s6300hi-http-d2403.bin的兼容信息,以及从当前运行版本升级到指定软件包版本需要采用的升级方式。(兼容版本显示信息举例)

<Sysname> issu pex PEX-S6300HI file feature flash:/s6300hi-http-d2403.bin

Verifying the file flash:/s6300hi-http-d2403.bin on chassis 1 slot 6.....Done.

Copying file flash:/s6300hi-http-d2403.bin to chassis2#slot6#flash:/s6300hi-http-d2403.bin...Done.

<Sysname> display version comp-matrix file feature flash:/cmw710-cfa-a0041.bin

Verifying the file flash:/cmw710-cfa-a0041.bin system on chassis 1 slot 6............Done.

Verifying the file flash:/s6300hi-http-d2403.bin on chassis 1 slot 6.....Done.

Feature image: flash:/cmw710-cfa-a0041.bin

  Version:

  A0042

  Version compatibility list:

  A0041

  A0042

  Version dependency system list:

  A0041

 

Compatible info of S6300HI:

Feature image: flash:/s6300hi-http-d2403.bin

  Version:

  D2403

  Version compatibility list:

  D2402

  D2403

  Version dependency system list:

  D2402

 

  Chassis   Slot              Upgrade Way

  1         6                 Service Upgrade

  1         7                 Service Upgrade

  1         9                 Service Upgrade

  2         6                 Service Upgrade

  2         7                 Service Upgrade

  101       6                 Service Upgrade

 

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

flash:/cmw710-cfa-a7122.bin

    CFA

 

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

flash:/cmw710-cfa-a7122.bin

    CFA

 

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

flash:/cmw710-cfa-a7122.bin

    CFA

 

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

flash:/cmw710-cfa-a7122.bin

    CFA

 

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

flash:/cmw710-cfa-a7122.bin

    CFA

Influenced service according to following table on chassis 101 slot 6:

flash:/cmw710-cfa-a7122.bin

    HTTP

表1-5 display version comp-matrix命令显示信息描述表

字段

描述

Verifying the file flash:/xx.bin on slot 6.....Done.

验证文件是否合法(独立运行模式)

Verifying the file flash:/xx.bin on chassis 1 slot 6.....Done.

验证文件是否合法(IRF模式)

Boot image: flash:/cmw710-boot-r7180.bin

  Version:

要显示的Boot包的相关信息,包括:

·     Boot包的名称

·     Version:Boot包的版本

System image: flash:/cmw710-system-r7180.bin

  Version:

  V700R001B45D001

  Version compatibility list:

  V700R001B45D001

  Version dependency boot list:

  7.1.045

要显示的System包的相关信息,包括:

·     System包的名称

·     Version:System包的版本

·     Version compatibility list:和该System包兼容的System包版本列表

·     Version dependency boot list:依赖的Boot包版本列表,即安装该System包前,必须先安装如下版本的Boot包中的任意一个

Feature image: flash:/cmw710-cfa-a7124.bin

  Version:

  V700R001B45D003

  Version compatibility list:

  V700R001B45D003

  Version dependency system list:

  V700R001B45D001

  V700R001B45D002

要显示的Feature包的相关信息,包括:

·     Feature包的名称

·     Version:Feature包的版本

·     Version compatibility list:和该Feature包兼容的Feature包版本列表

·     Version dependency system list:依赖的System包版本列表,即安装该Feature包前,必须先安装如下版本的System包中的任意一个

Compatible info of S6300HI:

Boot image: flash:/rpu-s6300hi-boot.bin

  Version:

  7.1.045

 

System image: flash:/rpu-s6300hi-system.bin

  Version:

  D2402

  Version compatibility list:

  D2402

  Version dependency boot list:

  7.1.045

 

Feature image: flash:/s6300hi-http-d2402.bin

  Version:

  D2404

  Version compatibility list:

  D2404

  Version dependency system list:

  D2402

要显示的PEX设备的相关信息,包括:

要显示的Boot包的相关信息:

·     Boot包的名称

·     Version:Boot包的版本

要显示的System包的相关信息:

·     System包的名称

·     Version:System包的版本

·     Version compatibility list:和该System包兼容的System包版本列表

·     Version dependency boot list:依赖的Boot包版本列表,即安装该System包前,必须先安装如下版本的Boot包中的任意一个

要显示的Feature包的相关信息:

·     Feature包的名称

·     Version:Feature包的版本

·     Version compatibility list:和该Feature包兼容的Feature包版本列表

Version dependency system list:依赖的System包版本列表,即安装该Feature包前,必须先安装如下版本的System包中的任意一个

Influenced service according to following table

如果升级,受影响的功能模块。只有版本兼容时,才会显示该信息

Incompatible upgrade

如果升级指定的软件包,则升级的方式为不兼容升级

Chassis

设备在IRF中的成员编号。只有版本兼容时,才会显示该信息(IRF模式)

Slot

单板所在的槽位号。只有版本兼容时,才会显示该信息

Upgrade Way

兼容升级策略。只有版本兼容时,才会显示该信息。取值可能为:

·     Service Upgrade:表示服务级增量升级,该方式下,仅对本业务模块有影响,对系统以及其他业务模块没有影响

·     File Upgrade:表示文件级增量升级。该方式下,仅对系统内的、用户不可见的程序文件进行升级,对系统以及业务模块没有影响

·     Reboot:表示通过重启方式升级

 

【相关命令】

·     issu load

1.1.12  install abort

install abort命令用来取消正在执行中的ISSU操作。

【命令】

install abort [ job-id ]

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

job-id:任务ID。不指定该参数时,则取消正在执行中的操作。

【使用指导】

当用户执行install activateinstall addinstall commitinstall deactivateinstall remove命令时,系统会创建相应的任务。为了管理和监控这些任务,系统会给每个任务分配一个任务ID。一个任务ID代表一条命令。其中,只有正在进行的激活或卸载操作可以使用install abort命令进行取消操作,取消后回退到操作前状态。

【举例】

# 取消正在执行中的操作。

<Sysname> install abort

【相关命令】

·     display install job

1.1.13  install activate

install activate命令用来激活软件包。

【命令】

独立运行模式:

install activate { boot filename | system filename | feature filename&<1-30> } * slot slot-number [ test ]

install activate patch filename { all | slot slot-number }

IRF模式:

install activate { boot filename | system filename | feature filename&<1-30> } * chassis chassis-number slot slot-number [ test ]

install activate patch filename { all | chassis chassis-number slot slot-number }

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

boot:表示Boot包。当只有PEX设备需要升级时,支持本参数。

system:表示System包。当只有PEX设备需要升级时,支持本参数。

feature:表示Feature包。

patch:表示补丁包。用于快速修复系统Bug。

filename:表示软件包的文件名,以.bin作为后缀名,从存储介质名开始为1~63个字符的字符串(包括存储介质名在内),不区分大小写。&<1-30>表示前面的参数最多可以输入30次。

all:升级补丁包对应的所有单板。(独立运行模式)

all:升级补丁包对应的所有单板或者PEX。(IRF模式)

slot slot-number:表示单板所在的槽位号。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。(IRF模式)

test:查看指定软件包的升级策略。不带该参数时,表示直接执行升级操作。

【使用指导】

·     只有进行激活处理后,软件包才能生效。

·     被激活的软件包只在本次运行的系统中生效。要使被激活的软件包在设备重启后继续生效,还需要执行install commit命令。激活补丁包时,若使用install activate patch filename all命令同时激活设备上的补丁包,则无需执行install commit命令,所有补丁包在设备重启后继续生效。

·     请先查看软件包版本发布说明书,如果某软件包需要License才能运行,且设备当前没有对应的有效的License时,需安装对应的License,再执行该命令。否则,会导致命令执行失败。

(1)     独立运行模式

当配置该命令时:

·     命令中指定的软件包必须放在主用主控板存储介质主分区的根目录下,文件名中必须包含存储介质的名称,形如flash:/xx.bin或slot7#flash:/xx.bin。

·     执行命令行时,如果filename不是存放在待升级主控板上的文件,则系统会先将该文件拷贝到待升级主控板上,再执行升级动作。

·     如果指定的slot参数为主用主控板所在的槽位号,则执行该命令,会同时升级主用主控板和业务板。

·     如果指定的slot参数为备用主控板所在的槽位号,则执行该命令,只会升级备用主控板。

(2)     IRF模式

当配置该命令时:

·     命令中指定的软件包必须放在全局主用主控板存储介质主分区的根目录下,文件名中必须包含存储介质的名称,形如flash:/xx.bin或chassis1#slot7#flash:/xx.bin。

·     执行命令行时,如果filename不是存放在待升级主控板上的文件,则系统会先将该文件拷贝到待升级主控板上,再执行升级动作。

·     如果指定的chassis chassis-number slot slot-number参数为全局主用主控板所在的槽位号,则执行该命令,会同时升级该主控板和所有业务板。

·     如果指定的chassis chassis-number slot slot-number参数为全局备用主控板所在的槽位号,则执行该命令,只会升级该主控板。

·     从设备重启后,会自动批量备份主设备的配置和状态数据。请等待批量备份完成后,即分别通过display devicedisplay mdc命令查看到所有单板处于normal状态、所有MDC处于active状态和所有服务的action显示为0后,再执行install activate命令,否则,命令会执行失败。

【举例】

# 显示备用主控板7上的Feature包ssh2.bin的升级策略。(独立运行模式)

<Sysname> install activate feature flash:/ssh2.bin slot 7 test

Copying file flash:/ssh2.bin to slot7#flash:/ssh2.bin......Done.

Verifying the file flash:/ssh2.bin on slot 7.....Done.

Upgrade summary according to following table:

 

flash:/ssh2.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Slot                        Upgrade Way

  7                           Service Upgrade

 

Influenced service according to following table:

flash:/ssh2.bin

     SSH       IFMGR     CFA       LAGG

以上显示信息表明,该软件将采用增量方式升级。并且升级过程中会重启功能模块SSH、IFMGR、CFA和LAGG。

# 显示成员设备1的7号单板(全局备用主控板)上的feature包ssh2.bin的升级策略。(IRF模式)

<Sysname> install activate feature flash:/ssh2.bin chassis 1 slot 7 test

Copying file flash:/ssh2.bin to chassis1#slot7#flash:/ssh2.bin......Done.

Verifying the file flash:/ssh2.bin on chassis1 slot 7.....Done.

Upgrade summary according to following table:

 

flash:/ssh2.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  1         7                 Service Upgrade

 

Influenced service according to following table:

flash:/ssh2.bin

     SSH       IFMGR     CFA       LAGG

以上显示信息表明,该软件将采用增量方式升级。并且升级过程中会重启功能模块SSH、IFMGR、CFA和LAGG。

# 激活备用主控板7上的System包system.bin和Feature包feature.bin。(独立运行模式)

<Sysname> install activate system flash:/system.bin feature flash:/feature.bin slot 7

Copying file flash:/system.bin to slot7#flash:/system.bin......Done.

Verifying the file flash:/system.bin on slot 7.....Done.

Copying file flash:/feature.bin to slot7#flash:/feature.bin......Done.

Verifying the file flash:/feature.bin on slot 7.....Done.

Upgrade summary according to following table:

 

flash:/system.bin

  Running Version             New Version

  Release 7148                Release 7180

 

flash:/feature.bin

  Running Version             New Version

  None                        Release 7180

 

  Slot                        Upgrade Way

  7                           Service Upgrade

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

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

# 激活成员设备1的1号单板(全局备用主控板)上的Feature包feature.bin。(IRF模式)

<Sysname> install activate feature flash:/feature.bin chassis 1 slot 7

Copying file flash:/feature.bin to chassis1#slot7#flash:/feature.bin......Done.

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

Upgrade summary according to following table:

 

flash:/route-feature.bin

  Running Version             New Version

  None                        Release 7180

 

  Chassis   Slot              Upgrade Way

  1         7                 Service Upgrade

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

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

表1-6 install activate命令显示信息描述表

字段

描述

Copying file A to B......Done.

将文件从位置A拷贝到位置B。当配置备用主控板时才有该提示信息(独立运行模式)

将文件从位置A拷贝到位置B。当配置全局备用主控板时才有该提示信息(IRF模式)

Verifying the file flash:/xx.bin on slot 7.....Done.

验证文件是否合法(独立运行模式)

Verifying the file flash:/xx.bin on chassis 1 slot 7.....Done.

验证文件是否合法(IRF模式)

Upgrade summary according to following table

升级摘要信息

Running Version

设备当前运行的相同类型软件包的产品版本号

New Version

目标软件包的产品版本号

Chassis

设备在IRF中的成员编号(IRF模式)

Slot

单板所在的槽位号

Upgrade Way

兼容升级策略,取值可能为:

·     Service Upgrade:表示服务级增量升级,该方式下,仅对本业务模块有影响,对系统以及其他业务模块没有影响

·     File Upgrade:表示文件级增量升级。该方式下,仅对系统内的、用户不可见的程序文件进行升级,对系统以及业务模块没有影响

·     Reboot:表示通过重启方式升级

Influenced service according to following table

将受影响的功能模块

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

询问用户是否执行兼容升级操作

This operation maybe take several minutes, please wait

升级操作需要花费一定时间,请等待

Done.

表示激活成功

Operation failed.

表示激活失败

Install command does not support incompatible upgrade.

不能使用install命令来升级不兼容版本

 

【相关命令】

·     display install active

·     install commit

·     install deactivate

1.1.14  install add

install add命令用来解压缩IPE文件。

【命令】

install add ipe-filename medium-name:

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

ipe-filename:IPE文件名,以.ipe作为后缀名,从存储介质名开始为1~63个字符的字符串(包括存储介质名在内),不区分大小写。

medium-name:存储介质的名称。如果是解压缩到主用主控板上,则为flash;如果是解压缩到备用主控板上,则为slotn#flash,n为备用主控板所在的槽位号。(独立运行模式)

medium-name:存储介质的名称。如果是解压缩到全局主用主控板上,则为flash;如果是解压缩到全局备用主控板上,则为chassism#slotn#flash,m为设备的成员编号,n为成员设备上主控板所在的槽位号;如果是解压缩到本地有存储介质的PEX设备上,则为chassism#slotn#flash,m为设备的成员编号,n为PEX设备的虚拟槽位号。(IRF模式)

【使用指导】

IPE文件是多个软件包的集合。将多个软件包整合成一个IPE文件对外发布,以便减少BIN包之间的版本管理问题。

用户获取IPE文件后,可以使用display install ipe-info命令查看该IPE文件中包含了哪些软件包,可以通过install add命令将IPE文件解压生成软件包,再利用生成的软件包更新设备软件。

当配置该命令时,命令中指定的IPE文件必须放在主用主控板存储介质主分区的根目录下,文件名中必须包含存储介质的名称,形如flash:/xx.ipe或slot7#flash:/xx.ipe。(独立运行模式)

当配置该命令时,命令中指定的IPE文件必须放在全局主用主控板存储介质主分区的根目录下,文件名中必须包含存储介质的名称,形如flash:/xx.ipe或chassis1#slot7#flash:/xx.ipe。(IRF模式)

【举例】

# 解压缩all.ipe文件到存储介质flash上。

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

Verifying the file flash:/all.ipe on slot 6...Done.

Decompressing file boot.bin to flash:/boot.bin.......................Done.

Decompressing file system.bin to flash:/system.bin.................................Done.

1.1.15  install commit

install commit命令用来确认软件包更改。

【命令】

install commit

【视图】

用户视图

【缺省用户角色】

network-admin

【使用指导】

执行install activateinstall deactivate命令会修改设备当前运行的软件包列表,使得只有符合用户需求的软件运行,不符合要求的不运行。

·     当执行install activate命令,且为增量升级方式时,这些修改只在设备的本次运行过程有效,要使这个修改结果在设备下次重启后继续生效,需要再执行install commit命令进行确认,确认后的软件包会列入设备主用下次启动软件包列表。

·     当执行install activate命令,且为重启升级方式时,因为用户在执行install activate命令时,系统已经修改了下次启动软件列表,所以,即便不再执行install commit命令,升级软件包也会在系统重启后继续生效。

·     当执行install deactivate命令,这些修改只在设备的本次运行过程有效,要使这个修改结果在设备下次重启后继续生效,需要再执行install commit命令进行确认。

boot-loader file命令和install commit命令都可以变更主用下次启动软件包列表,最新的配置生效。两条命令的不同之处在于,install commit命令自动使用当前激活的软件包列表作为主用下次启动软件包列表。而boot-loader file命令还可以指定其它当前未激活的软件包,可以配置为主用或者备用下次启动软件包列表。

请先查看软件包版本发布说明书,如果某软件包需要License才能运行,且设备当前没有对应的有效的License时,需安装对应的License,再执行该命令。否则,会导致命令执行失败。

【举例】

# 确认软件包更改。

<Sysname> install commit

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

【相关命令】

·     install activate

·     install deactivate

1.1.16  install deactivate

install deactivate命令用来卸载Feature包或补丁包。

【命令】

独立运行模式:

install deactivate feature filename&<1-30> slot slot-number

install deactivate patch filename { all | slot slot-number }

IRF模式:

install deactivate feature filename&<1-30> chassis chassis-number slot slot-number

install deactivate patch filename { all | chassis chassis-number slot slot-number }

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

filename:表示需要卸载Feature包或补丁包的文件名,以.bin作为后缀名,为1~63个字符的字符串,不区分大小写。&<1-30>表示前面的参数最多可以输入30次。

all:表示安装了补丁包的所有单板。(独立运行模式)

all:表示安装了补丁包的所有单板或者PEX。(IRF模式)

slot slot-number:表示单板所在的槽位号。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。(IRF模式)

【使用指导】

该命令只能对已经激活的软件包进行卸载操作。卸载的软件包的特性功能在本次系统运行中失效。

如果要使卸载的软件包在设备重启后继续失效,请执行install commit命令对卸载操作进行确认。当配置该命令时,文件名中必须且只能包含存储介质的名称,不能包含slot的信息,形如flash:/xx.bin。(独立运行模式)

当配置该命令时,文件名中必须且只能包含存储介质的名称,不能包含chassis和slot的信息,形如flash:/xx.bin。(IRF模式)

从设备重启后,会自动批量备份主设备的配置和状态数据。请等待批量备份完成后,即分别通过display devicedisplay mdc命令查看到所有单板处于normal状态、所有MDC处于active状态和所有服务的action显示为0后,再执行install deactivate命令,否则,命令会执行失败。(IRF模式)

【举例】

# 卸载6号单板上的patch包route-patch.bin。(独立运行模式)

<Sysname> install deactivate patch flash:/route-patch.bin slot 6

# 卸载成员设备1的6号槽位的单板上的feature包route-feature.bin。(IRF模式)

<Sysname> install deactivate feature flash:/route-feature.bin chassis 1 slot 6

【相关命令】

·     display install active

·     display install inactive

1.1.17  install remove

install remove命令用来删除指定的软件包。

【命令】

独立运行模式:

install remove [ slot slot-number ] { filename | inactive }

IRF模式:

install remove [ chassis chassis-number slot slot-number ] { filename | inactive }

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

slot slot-number:表示单板所在的槽位号。不指定该参数时,表示设备上的所有单板。(独立运行模式)

chassis chassis-number slot slot-numberchassis-number表示设备在IRF中的成员编号,slot-number表示单板所在的槽位号。不指定该参数时,表示IRF中的所有单板。(IRF模式)

filename:表示软件包的文件名,以.bin作为后缀名,为1~63个字符的字符串,不区分大小写。

inactive:表示将删除指定存储介质根目录下、没有被激活的所有软件包。

【使用指导】

·     该命令只能删除存储介质根目录下、没有被激活的软件包。

·     当配置该命令时,命令中指定的软件包必须放在存储介质的根目录下,文件名中必须且只能包含存储介质的名称,不能包含chassis和slot的信息,形如flash:/xx.bin。(IRF模式)

·     执行该命令后,指定的软件包将从设备上被彻底删除。

【举例】

# 删除软件包flash:/ssh-feature.bin。

<Sysname> install remove flash:/ssh-feature.bin

1.1.18  install verify

install verify命令用来执行软件包检验。

【命令】

install verify

【视图】

用户视图

【缺省用户角色】

network-admin

【使用指导】

正常情况下,设备上各主控板运行的软件必须完整并且版本应该一致,各主控板上处于激活状态的软件包应该和已确认的软件包一致,否则,会影响设备的主备倒换,以及导致主控板重启前后运行的软件版本不一致甚至不能正常启动。(独立运行模式)

正常情况下,IRF中各主控板运行的软件必须完整并且版本应该一致,各主控板上处于激活状态的软件包应该和已确认的软件包一致,否则,会影响主控板的主备倒换,以及导致主控板重启前后运行的软件版本不一致甚至不能正常启动。(IRF模式)

使用该命令,能帮助用户进行软件包检查,

·     当系统提示软件包不完整时,请重新下载并安装软件包。

·     当系统提示软件包不一致时,请使用install activateinstall deactivate以及install commit命令来确保它们的一致。

【举例】

# 检验设备各个单板上的软件包信息。(独立运行模式)

<Sysname> install verify

Active packages on slot 7 are the reference packages.

Packages will be compared with the reference packages.

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

  Verifying packages on slot 6:

  Start to check active package completeness.

Verifying the file flash:/boot-r7180.bin on slot 6.....................Done.

    flash:/boot-r7180.bin verification successful.

Verifying the file flash:/system-r7180.bin on slot 6.....................Done.

    flash:/system-r7180.bin verification successful.

  Start to check active package consistency.

    Active packages are consistent with committed packages on their own board.

    Active packages are consistent with the reference packages.

  Verifying packages on slot 7:

  Start to check active package completeness.

Verifying the file flash:/boot-r7180.bin on slot 7.....................Done.

    flash:/boot-r7180.bin verification successful.

Verifying the file flash:/system-r7180.bin on slot 7.....................Done.

    flash:/system-r7180.bin verification successful.

  Start to check active package consistency.

    Active packages are consistent with committed packages on their own board.

    Active packages are consistent with the reference packages.

Verification is done.

# 检验设备各个单板上的软件包信息。(IRF模式)

<Sysname> install verify

Active packages on slot 7 are the reference packages.

Packages will be compared with the reference packages.

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

  Verifying packages on chassis 1 slot 6:

  Start to check active package completeness.

Verifying the file flash:/boot-r7180.bin on slot 6.....................Done.

    flash:/boot-r7180.bin verification successful.

Verifying the file flash:/system-r7180.bin on slot 6.....................Done.

    flash:/system-r7180.bin verification successful.

  Start to check active package consistency.

    Active packages are consistent with committed packages on their own board.

    Active packages are consistent with the reference packages.

  Verifying packages on chassis 1 slot 7:

  Start to check active package completeness.

Verifying the file flash:/boot-r7180.bin on slot 6.....................Done.

    flash:/boot-r7180.bin verification successful.

Verifying the file flash:/system-r7180.bin on slot 6.....................Done.

    flash:/system-r7180.bin verification successful.

  Start to check active package consistency.

    Active packages are consistent with committed packages on their own board.

    Active packages are consistent with the reference packages.

Verification is done.

1.1.19  issu accept

issu accept命令用来确认ISSU兼容升级,接受已升级的软件版本。

【命令】

issu accept

【视图】

用户视图

【缺省用户角色】

network-admin

【使用指导】

此命令为可选命令,可以不执行此命令,直接执行后面的issu commit命令完成升级过程。

ISSU不兼容升级时,不需要执行该命令,执行该命令会提示失败。

【举例】

# 版本兼容情况下,确认升级步骤。

<Sysname> issu accept

【相关命令】

·     issu load

·     issu run switchover

1.1.20  issu commit

对于多成员设备的情况,issu commit命令用来对原主设备及未升级的从设备进行兼容版本升级。所有成员设备完成升级后,本次升级结束,ISSU回到初始状态。如果有多个成员设备需要通过issu commit命令进行升级,需要等到一个成员设备重启、重新加入IRF后再进行下一个成员设备的升级,否则可能造成升级错误。

【命令】

issu commit chassis chassis-number

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

chassis chassis-number:待升级的原主设备以及其它从设备的成员编号。

【使用指导】

从设备重启后,会自动批量备份主设备的配置和状态数据。请等待批量备份完成后,即分别通过display devicedisplay mdc命令查看到所有单板处于normal状态、所有MDC处于active状态和所有服务的action显示为0后,再执行issu commit命令,否则,命令会执行失败。

【举例】

# 在版本兼容情况下,升级原主设备(假设成员编号为3)和其他成员(假设成员编号为4和1)。

<Sysname> issu commit chassis 3

Copying file flash:/feature.bin to chassis3#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 3 slot 7..............Done.

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  3         6                 Service Upgrade

  3         7                 Service Upgrade

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

<Sysname> issu commit chassis 4

Copying file flash:/feature.bin to chassis4#slot6#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 4 slot 6..............Done.

Copying file flash:/feature.bin to chassis4#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 4 slot 7..............Done.

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  4         6                 Service Upgrade

  4         7                 Service Upgrade

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

<Sysname> issu commit chassis 1

Copying file flash:/feature.bin to chassis1#slot6#flash:/feature.bin...Done.

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

Copying file flash:/feature.bin to chassis1#slot7#flash:/feature.bin...Done.

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

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  1         6                 Service Upgrade

  1         7                 Service Upgrade

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

本命令显示信息的描述请参见表1-7

【相关命令】

·     issu accept

·     issu load

·     issu run switchover

1.1.21  issu load

issu load命令用来升级从设备的启动软件包并将从设备的主用下次启动软件包设置为指定的软件包。

【命令】

issu load file { boot filename | system filename | feature filename&<1-30> } * chassis chassis-number&<1-3>

issu load file ipe ipe-filename chassis chassis-number&<1-3>

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

boot:表示Boot包。

system:表示System包。

feature:表示Feature包。

ipe ipe-filename:IPE文件名,以.ipe作为后缀名,为1~63个字符的字符串,不区分大小写。

chassis chassis-number:表示从设备在IRF中的成员编号。&<1-3>表示前面的参数最多可以输入3次。

·     当要升级的软件包的版本和设备当前运行的软件包的版本兼容时,只允许输入一个chassis-number

·     当要升级的软件包的版本和设备当前运行的软件包的版本不兼容时,可以输入多个chassis-number,一次升级多个成员设备。

【使用指导】

issu命令指定的软件包不能全部覆盖设备当前启动软件包时,除issu命令指定的软件包之外的其他软件包会被沿用,例如设备当前启动软件包中含有Feature包并且该Feature包有效,issu命令指定新的软件包中不包含新的Feature包,那么当前版本的Feature包会被沿用。若沿用的软件包与issu命令指定的软件包不兼容,会导致设备升级失败。

当配置该命令时,命令中指定的软件包/IPE文件必须放在全局主用主控板存储介质主分区的根目录下,文件名中必须且只能包含存储介质的名称,不能包含chassis和slot的信息,形如flash:/xx.bin(flash:/xx.ipe)。

从设备重启后,会自动批量备份主设备的配置和状态数据。请等待批量备份完成后,即分别通过display devicedisplay mdc命令查看到所有单板处于normal状态、所有MDC处于active状态和所有服务的action显示为0后,再执行issu load命令,否则,命令会执行失败。

输入该命令后,系统将自动执行以下操作:

·     进行版本兼容性检查,分为兼容版本的升级和不兼容版本的升级。

·     确定升级策略。兼容升级的策略包括增量和重启升级。不兼容升级的策略只有重启升级。其中,增量升级会升级对应的进程;重启升级会自动重启对应的成员设备。

·     按照升级策略进行升级从设备,并将从设备的主用下次启动软件包设置为issu load命令中指定的包

【举例】

# 版本兼容情况下,使用flash:/feature.bin升级成员2上的Feature包。

<Sysname> issu load file feature flash:/feature.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:/feature.bin on chassis 1 slot 6...Done.

Copying file flash:/feature.bin to chassis2#slot6#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 2 slot 6...Done.

Copying file flash:/feature.bin to chassis2#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 2 slot 7...Done.

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  2         2                 Service Upgrade

  2         3                 Service Upgrade

  2         4                 Service Upgrade

  2         6                 Service Upgrade

  2         7                 Service Upgrade

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

# 版本不兼容情况下,使用flash:/feature.bin升级从设备3和从设备4上的Feature包。

<Sysname>issu load file feature flash:/feature.bin chassis 3 4

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:/feature.bin on chassis 1 slot 6...Done.

Copying file flash:/feature.bin to chassis3#slot6#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 3 slot 6...Done.

Copying file flash:/feature.bin to chassis3#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 3 slot 7...Done.

Copying file flash:/feature.bin to chassis4#slot6#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 4 slot 6...Done.

Copying file flash:/feature.bin to chassis4#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 4 slot 7...Done.

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  3         2                 Reboot

  3         3                 Reboot

  3         4                 Reboot

  3         6                 Reboot

  3         7                 Reboot

  4         2                 Reboot

  4         3                 Reboot

  4         4                 Reboot

  4         6                 Reboot

  4         7                 Reboot

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

表1-7 issu load命令显示信息描述表

字段

描述

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

当前操作会删除上一次ISSU升级的日志信息和回滚点,并且未保存的配置可能会丢失,询问用户是否继续执行升级操作

Verifying the file flash:/xx.bin on chassis 1 slot 6.....Done.

验证文件是否合法

Decompressing file A to B...........................Done.

将文件从位置A解压缩到位置B。只有使用IPE文件升级时,才显示该信息

Copying file B to C......Done.

将文件从位置B拷贝到位置C。当配置全局备用主控板时才有该提示信息

Upgrade summary according to following table

升级信息摘要

Running Version

设备当前运行的相同类型软件包的产品版本号

New Version

将要升级的软件包的产品版本号

Chassis

设备在IRF中的成员编号

Slot

单板所在的槽位号

Upgrade Way

升级策略,取值可能为:

·     Service Upgrade:表示服务级增量升级,该方式下,仅对本业务模块有影响,对系统以及其他业务模块没有影响

·     File Upgrade:表示文件级增量升级。该方式下,仅对系统内的、用户不可见的程序文件进行升级,对系统以及业务模块没有影响

·     Reboot:表示通过重启方式升级

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

询问用户是否执行兼容升级操作

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

询问用户是否执行不兼容升级操作

 

1.1.22  issu pex

issu pex命令用来指定PEX设备的升级软件包。

【命令】

issu pex pex-model file { boot filename | system filename | feature filename&<1-30> } *

issu pex pex-model file ipe ipe-filename

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

pex-model:设备支持的PEX设备的型号,该参数必须完整输入,不区分大小写。可输入boot-loader pex ,回车,来获取该参数的取值。

boot:表示Boot包。

system:表示System包。

feature:表示Feature包。

filename:表示软件包的文件名,以.bin作为后缀名,为1~63个字符的字符串,不区分大小写。&<1-30>表示前面的参数最多可以输入30次。

ipe ipe-filename:IPE文件名,以.ipe作为后缀名,为1~63个字符的字符串,不区分大小写。

【使用指导】

该命令只是指定PEX设备的升级软件包,并不执行升级动作,而是等主控板升级时,PEX设备使用这些升级软件包启动来完成升级。组网环境不同,PEX设备的具体升级时机不同,具体描述请参见“基础配置指导”中的“ISSU”。如果不进行ISSU升级,而仅仅是重启PEX设备,该命令配置的软件包将不会生效。

issu命令指定的软件包不能全部覆盖设备当前启动软件包时,除issu命令指定的软件包之外的其他软件包会被沿用,例如设备当前启动软件包中含有Feature包并且该Feature包有效,issu命令指定新的软件包中不包含新的Feature包,那么当前版本的Feature包会被沿用。若沿用的软件包与issu命令指定的软件包不兼容,会导致设备升级失败。

当配置该命令时,命令中指定的软件包/IPE文件必须放在存储介质主分区的根目录下。

对于本地无存储介质的PEX设备,输入该命令后,系统将自动执行以下操作:

·     进行命令行合法性检查。

·     将升级文件全部拷贝到系统中所有的主控板上。如果指定的是IPE文件,那么会自动解压到所有主控板上。

对于本地有存储介质的PEX设备,输入该命令后,系统将自动执行以下操作:

·     进行命令行合法性检查。

·     将升级文件全部拷贝到系统中所有的该类型的PEX设备上。如果指定的是IPE文件,则会自动解压到所有该类型的PEX设备上。

·     拷贝完成后,提示用户是否需要删除源软件包。如果用户确认,则自动删除源软件包,以便释放空间。

【举例】

# 指定型号为PEX-S5120HI的PEX设备的升级软件包为flash:/devkit.bin(本地无存储介质的PEX设备)。

<Sysname> issu pex PEX-S5120HI file feature flash:/devkit.bin

Verifying the file flash:/devkit.bin on chassis 1 slot 6............Done.

File flash:/devkit.bin already exists on chassis 1 slot 6.

Overwrite the existing files? [Y/N]:Y

Copying file flash:/devkit.bin to chassis101#slot6#flash:/devkit.bin...Done.

# 指定型号为PEX-S6300HI的PEX设备的升级软件包为flash:/devkit.bin(本地有存储介质的PEX设备)。

<Sysname> issu pex PEX-S6300HI file feature flash:/devkit.bin

Verifying the file flash:/test.ipe on chassis 1 slot 6............Done.

File flash:/devkit.bin already exists on chassis 101 slot 0.

Overwrite the existing files? [Y/N]:Y

Copying file flash:/devkit.bin to chassis101#slot0#flash:/devkit.bin...Done.

Delete flash:/devkit.bin from chassis 1 slot 6? [Y/N]:Y

# 指定型号为PEX-S5120HI的PEX设备的升级软件包为flash:/test.ipe(本地无存储介质的PEX设备)。

<Sysname> issu pex PEX-S5120HI file ipe flash:/test.ipe

Verifying the file flash:/test.ipe on chassis 1 slot 6............Done.

File flash:/devkit.bin already exists on chassis 1 slot 6.

File flash:/manufacture.bin already exists on chassis 1 slot 6.

Overwrite the existing files? [Y/N]:Y

Decompressing file devkit.bin to flash:/devkit.bin. .....Done.

Decompressing file manufacture.bin to flash:/manufacture.bin.....Done.

File flash:/devkit.bin already exists on chassis 1 slot 6.

File flash:/manufacture.bin already exists on chassis 1 slot 6.

Overwrite the existing files? [Y/N]:Y

Copying file flash:/devkit.bin to chasis1#slot6#flash:/devkit.bin. ...Done.

Copying file flash:/manufacture.bin to chassis1#slot6#flash:/manufacture.bin....Done.

# 指定型号为PEX-S6300HI的PEX设备的升级软件包为flash:/test.ipe(本地有存储介质的PEX设备)。

<Sysname> issu pex PEX-S6300HI file ipe flash:/test.ipe

Verifying the file flash:/test.ipe on chassis 1 slot 6............Done.

Decompressing file devkit.bin to flash:/devkit.bin...Done.

Decompressing file manufacture.bin to flash:/manufacture.bin.....Done.

Copying file flash:/devkit.bin to chassis101#slot0#flash:/devkit.bin...Done.

Copying file flash:/manufacture.bin to chassis101#slot0#flash:/manufacture.bin...Done.

Delete flash:/devkit.bin from chassis 1 slot 6? [Y/N]:Y

Delete flash:/manufacture.bin from chassis 1 slot 6? [Y/N]:Y

Delete flash:/test.ipe from chassis 1 slot 6? [Y/N]:Y

【相关命令】

·     issu load

1.1.23  issu rollback-timer

issu rollback-timer命令用来设置回滚定时器时长。

undo issu rollback-timer命令用来恢复缺省情况。

【命令】

issu rollback-timer minutes

undo issu rollback-timer

【缺省情况】

回滚定时器的时长为45分钟。

【视图】

系统视图

【缺省用户角色】

network-admin

【参数】

minutes:回滚定时器的时长,取值范围为0~120,单位为分钟。如果时长设置为0,则表示关闭自动回滚功能。

【使用指导】

回滚功能较复杂,不推荐使用,升级之前需关闭自动回滚功能

【举例】

# 设置回滚定时器时长为0分钟。

<Sysname> system-view

[Sysname] issu rollback-timer 0

【相关命令】

·     issu rollback

1.1.24  issu run switchover

issu run switchover命令用来进行ISSU倒换。

【命令】

issu run switchover

【视图】

用户视图

【缺省用户角色】

network-admin

【使用指导】

从设备重启后,会自动批量备份主设备的配置和状态数据。请等待批量备份完成后,即分别通过display devicedisplay mdc命令查看到所有单板处于normal状态、所有MDC处于active状态和所有服务的action显示为0后,再执行issu run switchover命令,否则,命令会执行失败。

输入该命令后,系统将自动执行以下操作:

·     兼容版本升级:增量升级时系统会对升级的进程进行了进程级主备倒换;重启升级时系统会将当前主设备的主控板使用原版本重新启动,将刚使用issu load命令升级完成的从设备选举为IRF的主设备。

·     不兼容版本升级:执行issu load后IRF分裂,生成两个的IRF。执行issu run switchover重启并升级原IRF,原IRF重启后加入新的IRF即完成升级过程,系统选择新IRF的主设备为合并后IRF的主设备。

需要注意的是:

·     兼容版本升级时,如果业务板和网板无法使用增量升级,这种情况下业务板和网板会重启,并从新主控板加载最新的软件包,途经此业务板和网板的流量会中断,流量恢复时间是“业务板和网板启动时间+业务板和网板状态恢复时间”。

·     不兼容版本升级执行issu run switchover之后,即完成升级过程。

【举例】

# 版本兼容情况下,进行主备倒换。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

Chassis   Slot              Switchover Way

  1         6                 Active standby process switchover

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

# 版本不兼容情况下,进行主备倒换,同时升级成员设备1(主设备)和成员设备2(从设备)。

<Sysname> issu run switchover

Copying file flash:/feature.bin to chassis1#slot7#flash:/feature.bin...Done.

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

Copying file flash:/feature.bin to chassis2#slot6#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 2 slot 6...Done.

Copying file flash:/feature.bin to chassis2#slot7#flash:/feature.bin...Done.

Verifying the file flash:/feature.bin on chassis 2 slot 7...Done.

Upgrade summary according to following table:

 

flash:/feature.bin

  Running Version             New Version

  Release 7148                Release 7180

 

  Chassis   Slot              Upgrade Way

  1         2                 Reboot

  1         3                 Reboot

  1         4                 Reboot

  1         6                 Reboot

  1         7                 Reboot

  2         2                 Reboot

  2         3                 Reboot

  2         4                 Reboot

  2         6                 Reboot

  2         7                 Reboot

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

表1-8 issu load命令显示信息描述表

字段

描述

Copying file A to B......Done.

将文件从位置A拷贝到位置B。只有不兼容升级其它全局备用主控板时才有该提示信息

Verifying the file flash:/xx.bin on chassis 1 slot 7.....Done.

验证文件是否合法

Switchover Way

倒换方式,取值可能为:

·     Active standby process switchover:表示主备进程的倒换

·     Global active standby MPU switchover:表示全局主备主控板之间的倒换

其它字段

请参见表1-7

 

【相关命令】

·     issu load

1.1.25  reset install log-history oldest

reset install log-history oldest命令用来清除ISSU日志。

【命令】

reset install log-history oldest log-number

【视图】

用户视图

【缺省用户角色】

network-admin

【参数】

log-numberISSU日志的数量。

【使用指导】

使用该命令,系统将清除指定数量的、时间最早的、与ISSU升级相关的日志

【举例】

# 清除2条最早的ISSU日志。

<Sysname> reset install log-history oldest 2

【相关命令】

·     display install log

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

新华三官网
联系我们