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

01-基础配置命令参考

目录

12-License管理命令

本章节下载 12-License管理命令  (173.59 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S12500/S12500/Command/Command_Manual/H3C_S12500_CR-R7374-6W732/01/201505/869031_30005_0.htm

12-License管理命令


1 License管理

说明

·     本章的所有命令仅在缺省MDC下支持,非缺省MDC不支持。但是,授权给缺省MDC的特性,会同步授权给非缺省MDC。有关MDC的详细介绍,请参见“虚拟化技术配置指导”中的“MDC”。

·     设备支持两种运行模式:独立运行模式和IRF模式,缺省情况下为独立运行模式。有关IRF模式的介绍,请参见“虚拟化技术配置指导”中的“IRF”。

 

1.1  License管理命令(激活文件与机箱绑定)

1.1.1  display license

display license命令用来显示License的详细信息。

【命令】

独立运行模式:

display license [ activation-file | activation-key | license-key ]

IRF模式:

display license [ activation-file | activation-key | license-key ] [ chassis chassis-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【参数】

activation-file:显示设备上已存在的激活文件相关信息。

activation-key显示设备上已存在的激活码相关信息。设备不支持该参数。

license-key:显示设备上已存在的授权码相关信息。设备不支持该参数。

chassis chassis-number:显示指定成员设备上安装的License信息。chassis-number表示设备在IRF中的成员编号。不指定该参数时,显示所有成员设备上的License信息。(IRF模式)

【使用指导】

不指定任何参数时,显示所有License的详细信息。

【举例】

# 显示设备上所有License的详细信息。(独立运行模式)

<Sysname> display license

flash:/license/210235789456120011012013093010280123367.ak

Feature: CAMPUS

Product Description: H3C S12500 Advanced Campus License

Registered at: 2013-09-30 10:30:46

License Type: Permanent

Current State: Uninstalled

Uninstall Key: TAbx-ieC9-pZkL-HsjP-icuB-c$$%-G@$p-F2rM

Uninstall Date: 2013-09-30 10:36:12

 

flash:/license/210235789456120011012013093010421425475.ak

Feature: DATACENTER

Product Description: H3C S12500 Advanced Data Center License

Registered at: 2013-09-30 10:50:49

License Type: Trial (days restricted)

Trial Time Left (days): 53

Current State: In use

# 显示IRF中所有License的详细信息。(IRF模式)

<Sysname> display license

Chassis 1:

flash:/license/210235A96801060011222013092811165639811_c1_01.ak

Feature: CAMPUS

Product Description: H3C S12500 Advanced Campus License

Registered at: 2013-09-28 11:17:16

License Type: Permanent

Current State: In use

 

Chassis 2:

flash:/license/c2_campus_03.ak

Feature: CAMPUS

Product Description: H3C S12500 Advanced Campus License

Registered at: 2013-09-28 20:23:02

License Type: Trial (days restricted)

Time Left (days): 26

Current State: In use

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

字段

描述

Chassis n

n号成员设备上的License信息(IRF模式)

flash:/license/210235789456120011012013093010280123367.ak

激活文件的路径,“210235789456120011012013093010280123367”为激活文件的文件名

Feature

特性名称,包括:

·     CAMPUS:表示园区网功能授权,授权的特性MDC

·     DATACENTER:表示数据中心功能授权,授权的特性为EVI、SPB、FCoE和MDC

Product Description

激活文件产品描述信息

Registered at

在设备上的安装时间

License Type

License的类型,取值为:

·     NA:无法获取License的类型

·     Permanent:永久类型,表示该License永远有效,不会过期

·     Days restricted:相对时间类型,表示该License是正式发布的,且有效期是一个相对时间段,比如30天

·     Trial (days restricted):相对时间类型的试用License,表示该License是相对时间类型的、非正式发布的License

Time Left (days)

正式授权相对时间类型剩余时间

Trial Time Left (days)

临时授权相对时间类型剩余时间

Current State

License当前状态取值为:

·     In use:当前License正在使用

·     Usable:当前License正在等待使用(当设备同时安装了多个相对时间License,且多个License均支持某一特性时,则只有一个License中的该特性处于In use状态,其它License中的该特性会处于Usable状态)

·     Expired:当前License已过期

·     Uninstalled:当前License已卸载

·     Unusable:当前License无法使用

·     Invalid:不合法的数据,无法使用

Uninstall Key

卸载文件中的卸载码

Uninstall Date

卸载日期

 

1.1.2  display license feature

display license feature命令用来显示特性的License摘要信息。

【命令】

display license feature

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【使用指导】

License摘要信息包括哪些特性需要安装License,以及已安装的License的简要信息。

【举例】

# 显示License摘要信息。(独立运行模式)

<Sysname> display license feature

Total: 8  Usage: 1

Feature                         Licensed        State

DATACENTER                      Y               Formal

CAMPUS                          N               -

# 显示License摘要信息。(IRF模式)

<Sysname> display license feature

Chassis 1:

Total: 8  Usage: 2

Feature                         Licensed        State

DATACENTER                      Y               Trail

CAMPUS                          Y               Formal

 

Chassis 2:

Total: 8  Usage: 2

Feature                         Licensed        State

DATACENTER                      Y               Trail

CAMPUS                          Y               Formal

表1-2 display license feature命令显示信息描述表

字段

描述

Chassis n

n号成员备上的License摘要信息(IRF模式)

Total

设备上可以安装的License总数目

Usage

设备上已经安装的License总数目

Feature

需要License授权才能使用的业务特性的名称

Licensed

是否已经授权

·     N表示未授权

·     Y表示已授权

State

License的当前状态:

·     Formal表示当前已经为该特性安装了正式License,License处于有效状态

·     Trail表示当前已经为该特性安装了临时License,License处于有效状态

·     -表示当前无有效License,用户如需使用该特性,请安装对应的License

 

1.1.3  display license device-id

display license device-id命令用来显示设备的SN(Serial Number,序列号)和DID(Device ID,设备ID)信息。(独立运行模式)

display license device-id chassis chassis-number命令用来显示指定成员设备的SN和DID信息。(IRF模式)

【命令】

独立运行模式:

display license device-id

IRF模式:

display license device-id chassis chassis-number

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【参数】

chassis chassis-number:表示设备在IRF中的成员编号。(IRF模式)

【使用指导】

·     申请License激活文件需要使用设备的SN和DID,用来表示激活文件和设备的绑定关系。

·     DID在执行压缩命令license compress后会发生变化。因此,请在申请激活文件前,查询设备的DID信息。

【举例】

# 显示设备的SN和DID信息。(独立运行模式)

<Sysname> display license device-id

SN: 210231A968009A000026

Device ID: jb7-kpTq-HskV-NQ4r-jT5j-D5Yx-m:+B-SZYD

# 显示成员设备2的SN和DID信息。(IRF模式)

<Sysname> display license device-id chassis 2

SN: 210231A9680113000053

Device ID: J@Hs-LW#K-ZPsY-+Vg#-T@N5-dKWy-4nCM-Sw9R

表1-3 display license device-id命令显示信息描述表

字段

描述

SN

序列号信息,用于生成激活文件

Device ID

设备编号信息,用于生成激活文件

 

【相关命令】

·     license compress

1.1.4  license activation-file install

license activation-file install命令用来安装License的激活文件。

【命令】

独立运行模式:

license activation-file install file-name

IRF模式:

license activation-file install file-name chassis chassis-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

file-name激活文件的全路径,为1~127个字符的字符串,区分大小写。激活文件必须合法、有效,并且保存在主控板的存储介质flash/CF卡上。

chassis chassis-number:表示给成员设备安装License激活文件,成员设备安装激活文件后,即便加入别的IRF,也具有运行相应特性的授权。chassis-number表示设备在IRF中的成员编号。(IRF模式)

【使用指导】

·     激活文件是用户购买的激活受控特性的凭证。激活文件安装到设备上后,对应的特性得到授权,可以正常使用。

·     对于一台设备,请不要多个用户同时进行License激活文件的安装,否则可能导致安装失败。

【举例】

# 给设备安装激活文件20130810.ak。(独立运行模式)

<Sysname> system-view

[Sysname] license activation-file install flash:/20130810.ak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2安装激活文件20130812.ak。(IRF模式)

<Sysname> system-view

[Sysname] license activation-file install flash:/20130812.ak chassis 2

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

【相关命令】

·     display license activation-file

·     license activation-file uninstall

1.1.5  license activation-file uninstall

license activation-file uninstall命令用来卸载License的激活文件。

【命令】

独立运行模式:

license activation-file uninstall file-name

IRF模式:

license activation-file uninstall file-name chassis chassis-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

file-name激活文件的全路径,为1~127个字符的字符串,区分大小写。

chassis chassis-number:表示给成员设备卸载License激活文件,成员设备卸载激活文件后,将不能使用该激活文件包含的特性。chassis-number表示设备在IRF中的成员编号。(IRF模式)

【使用指导】

当用户购买的正式激活文件还没有到期,并且在当前设备不需要再使用时,可以卸载该激活文件,此时设备会产生一个卸载凭证——卸载文件。用户可以将该卸载凭证和其它设备绑定,获取一个新的激活文件,并在新设备上安装,从而将License从当前设备授权变更到其它设备。

需要注意的是:

·     激活文件被卸载后,对应的特性将无法获得到被卸载的激活文件的信息,特性无法运行。

·     卸载临时激活文件,不会产生卸载文件,即临时License不支持授权变更;卸载正式激活文件,会产生卸载文件,即正式License支持授权变更。

·     对于一台设备,请不要多个用户同时进行License激活文件的卸载,否则可能导致卸载失败。

【举例】

# 卸载正式激活文件flash:/license/20130810.ak。(独立运行模式)

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130810.ak

Uninstall file: flash:/license/20130810.uak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2卸载正式激活文件flash:/license/20130812.ak。(IRF模式)

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130812.ak chassis 2

Uninstall file: flash:/license/20130812.uak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

【相关命令】

·     display license activation-file

·     license activation-file install

1.1.6  license compress

license compress命令用来压缩License存储区。

【命令】

独立运行模式:

license compress

IRF模式:

license compress chassis chassis-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

chassis chassis-number:表示对指定成员设备的License存储区进行压缩,将删除无效的License数据,对License存储区空间进行释放,用于安装新的激活文件。chassis-number表示设备在IRF中的成员编号。(IRF模式)

【使用指导】

License存储区空间是有限的。执行该命令后,系统会自动判断各License的状态,将过期和卸载的License以及相关数据删除。从而释放空间,以便用户安装新的License。

需要注意的是:

·     请在执行该命令前,保存各卸载License的卸载文件。因为执行该命令后,卸载文件会被删除。

·     对于一台设备,请不要多个用户同时进行压缩License存储区的操作,否则可能导致操作失败。

【举例】

# 压缩License存储区。(独立运行模式)

<Sysname> system-view

[Sysname] license compress

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files.Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2压缩License存储区。(IRF模式)

<Sysname> system-view

[Sysname] license compress chassis 2

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files.Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

1.2  License管理命令(激活文件与主控板绑定)

1.2.1  display license

display license命令用来显示License的详细信息。

【命令】

独立运行模式:

display license [ activation-file | activation-key | license-key ] [ slot slot-number ]

IRF模式:

display license [ activation-file | activation-key | license-key ] [ chassis chassis-number slot slot-number ]

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【参数】

activation-file:显示设备上已存在的激活文件相关信息。不指定该参数时,同样显示设备上已存在的激活文件相关信息。

activation-key显示设备上已存在的激活码相关信息。设备不支持该参数。

license-key:显示设备上已存在的授权码相关信息。设备不支持该参数。

slot slot-number:显示指定主控板上安装的License信息。slot-number表示主控板所在的槽位号。不指定该参数时,显示设备上所有主控板的License信息。(独立运行模式)

chassis chassis-number slot slot-number:显示指定成员设备的指定主控板上安装的License信息。chassis-number表示设备在IRF中的成员编号,slot-number表示主控板所在的槽位号。不指定该参数时,显示所有主控板上的License信息。(IRF模式)

【举例】

# 显示设备上所有License的详细信息。(独立运行模式)

<Sysname> display license

Slot 0:

flash:/license/210231A2DG9137M111112013093014344857844.ak

Feature: DATACENTER

Product Description: H3C S12500 Advanced Data Center License

Registered at: 2013-09-30 14:34:21

License Type: Trial (days restricted)

Trial Time Left (days): 53

Current State: In use

# 显示IRF中所有License的详细信息。(IRF模式)

<Sysname> display license

Chassis 1 Slot 0:

flash:/license/campus_002.ak

Feature: CAMPUS

Product Description: H3C S12500 Advanced Campus License

Registered at: 2013-10-09 10:00:46

License Type: Permanent

Current State: In use

 

Chassis 2 Slot 1:

flash:/license/campus_003.ak

Feature: CAMPUS

Product Description: H3C S12500 Advanced Campus License

Registered at: 2013-10-09 10:10:25

License Type: Trial (days restricted)

Time Left (days): 26

Current State: In use

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

字段

描述

Slot n

n号主控板上的License信息(独立运行模式)

Chassis n slot m

n号成员设备m号主控板上的License信息(IRF模式)

flash:/license/210231A2DG9137M111112013093014344857844.ak

激活文件的路径,“210231A2DG9137M111112013093014344857844”为激活文件的文件名

Feature

特性名称,包括:

·     CAMPUS:表示园区网功能授权,授权的特性为MDC

·     DATACENTER:表示数据中心功能授权,授权的特性为EVI、SPB、FCoE和MDC

Product Description

激活文件产品描述信息

Registered at

在设备上的安装时间

License Type

License的类型,取值为:

·     NA:无法获取License的类型

·     Permanent:永久类型,表示该License永远有效,不会过期

·     Days restricted:相对时间类型,表示该License是正式发布的,且有效期是一个相对时间段,比如30天

·     Trial (days restricted):相对时间类型的试用License,表示该License是相对时间类型的、非正式发布的License

Time Left (days)

正式授权相对时间类型剩余时间

Trial Time Left (days)

临时授权相对时间类型剩余时间

Current State

License当前状态取值为:

·     In use:当前License正在使用

·     Usable:当前License正在等待使用(当设备同时安装了多个相对时间License,且多个License均支持某一特性时,则只有一个License中的该特性处于In use状态,其它License中的该特性会处于Usable状态)

·     Expired:当前License已过期

·     Uninstalled:当前License已卸载

·     Unusable:当前License无法使用

·     Invalid:不合法的数据,无法使用

Uninstall Key

卸载文件中的卸载码

Uninstall Date

卸载日期

 

1.2.2  display license feature

display license feature命令用来显示特性的License摘要信息。

【命令】

display license feature

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【使用指导】

License摘要信息包括哪些特性需要安装License,以及已安装的License的简要信息。

【举例】

# 显示License摘要信息。(独立运行模式)

<Sysname> display license feature

Slot 0:

Total: 128  Usage: 1

Feature                         Licensed        State

DATACENTER                      Y               Formal

CAMPUS                          N               -

 

Slot 1:

Total: 128  Usage: 1

Feature                         Licensed        State

DATACENTER                      Y               Formal

CAMPUS                          N               -

# 显示License摘要信息。(IRF模式)

<Sysname> display license feature

Chassis 1 Slot 0:

Total: 128  Usage: 2

Feature                         Licensed        State

DATACENTER                      Y               Formal

CAMPUS                          Y               Formal

 

Chassis 2 Slot 1:

Total: 128  Usage: 2

Feature                         Licensed        State

DATACENTER                      Y               Formal

CAMPUS                          Y               Formal

表1-5 display license feature命令显示信息描述表

字段

描述

Slot n

n号主控板上的License摘要信息(独立运行模式)

Chassis n Slot m

n号成员设备的m号主控板上的License摘要信息(IRF模式)

Total

设备上可以安装的License总数目

Usage

设备上已经安装的License总数目

Feature

需要License授权才能使用的业务特性的名称

Licensed

是否已经授权

·     N表示未授权

·     Y表示已授权

State

License的当前状态:

·     Formal表示当前已经为该特性安装了正式License,License处于有效状态

·     Trail表示当前已经为该特性安装了临时License,License处于有效状态

·     -表示当前无有效License,用户如需使用该特性,请安装对应的License

 

1.2.3  display license device-id

display license device-id slot slot-number命令用来显示指定主控板的SN(Serial Number,序列号)和DID(Device ID,设备ID)信息。(独立运行模式)

display license device-id chassis chassis-number slot slot-number命令用来显示指定成员设备上指定主控板的SN和DID信息。(IRF模式)

【命令】

独立运行模式:

display license device-id slot slot-number

IRF模式:

display license device-id chassis chassis-number slot slot-number

【视图】

任意视图

【缺省用户角色】

network-admin

network-operator

mdc-admin

mdc-operator

【参数】

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

chassis chassis-number slot slot-number:表示IRF中指定成员设备上的指定主控板。(IRF模式)

【使用指导】

·     申请License激活文件需要使用主控板的SN和DID,用来表示激活文件和主控板的绑定关系。

·     DID在执行压缩命令license compress后会发生变化。因此,请在申请激活文件前,查询主控板的DID信息。

【举例】

# 显示主控板1的SN和DID信息。(独立运行模式)

<Sysname> display license device-id slot 1

SN: 210231A968H134000109

Device ID: N%m8-$ZxH-FB7d-czBP-mG$d-U4M:-%A%g-$6VA

# 显示成员设备2的1号主控板的SN和DID信息。(IRF模式)

<Sysname> display license device-id chassis 2 slot 1

SN: 210231A9680093000003

Device ID: /B6i-5KF9-bCG+-V6xB-/+4f-5:JZ-u>ky-mbZc

表1-6 display license device-id命令显示信息描述表

字段

描述

SN

序列号信息,用于生成激活文件

Device ID

设备编号信息,用于生成激活文件

 

【相关命令】

·     license compress

1.2.4  license activation-file install

license activation-file install命令用来安装License的激活文件。

【命令】

独立运行模式:

license activation-file install file-name slot slot-number

IRF模式:

license activation-file install file-name chassis chassis-number slot slot-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

file-name激活文件的全路径,为1~127个字符的字符串,区分大小写。激活文件必须合法、有效,并且保存在主控板的存储介质flash/CF卡上。

slot slot-number:表示给主控板安装License激活文件,主控板安装激活文件后,即便插入别的设备,也具有运行相应特性的授权。slot-number表示主控板所在的槽位号。(独立运行模式)

chassis chassis-number slot slot-number:表示给指定成员设备上的指定主控板安装License激活文件,主控板安装激活文件后,即便插入别的设备,也具有运行相应特性的授权。chassis-number表示设备在IRF中的成员编号,slot-number表示主控板所在的槽位号。(IRF模式)

【使用指导】

·     激活文件是用户购买的激活受控特性的凭证。激活文件安装到设备上后,对应的特性得到授权,可以正常使用。

·     对于一台设备,请不要多个用户同时进行License激活文件的安装,否则可能导致安装失败。

【举例】

# 给1号主控板安装激活文件20130811.ak。(独立运行模式)

<Sysname> system-view

[Sysname] license activation-file install flash:/20130811.ak slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2的1号主控板安装激活文件20130813.ak。(IRF模式)

<Sysname> system-view

[Sysname] license activation-file install flash:/20130813.ak chassis 2 slot 1

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

【相关命令】

·     display license activation-file

·     license activation-file uninstall

1.2.5  license activation-file uninstall

license activation-file uninstall命令用来卸载License的激活文件。

【命令】

独立运行模式:

license activation-file uninstall file-name slot slot-number

IRF模式:

license activation-file uninstall file-name chassis chassis-number slot slot-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

file-name激活文件的全路径,为1~127个字符的字符串,区分大小写。

slot slot-number:表示给主控板卸载License激活文件,主控板卸载激活文件后,将不能使用该激活文件包含的特性。slot-number表示主控板所在的槽位号。(独立运行模式)

chassis chassis-number slot slot-number:表示给指定成员设备上的指定主控板卸载License激活文件,成员设备卸载激活文件后,将不能使用该激活文件包含的特性。chassis-number表示设备在IRF中的成员编号,slot-number表示主控板所在的槽位号。(IRF模式)

【使用指导】

当用户购买的正式激活文件还没有到期,并且在当前主控板不需要再使用时,可以卸载该激活文件,此时主控板会产生一个卸载凭证——卸载文件。用户可以将该卸载凭证和其它主控板绑定,获取一个新的激活文件,并在新主控板上安装,从而将License从当前主控板授权变更到其它主控板。

需要注意的是:

·     激活文件被卸载后,对应的特性将无法获得到被卸载的激活文件的信息,特性无法运行。

·     卸载临时激活文件,不会产生卸载文件,即临时License不支持授权变更;卸载正式激活文件,会产生卸载文件,即正式License支持授权变更。

·     对于一台设备,请不要多个用户同时进行License激活文件的卸载,否则可能导致卸载失败。

【举例】

# 给1号主控板卸载正式激活文件flash:/license/20130811.ak。(独立运行模式)

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130811.ak slot 1

Uninstall file: flash:/license/20130811.uak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2的1号主控板卸载正式激活文件flash:/license/20130813.ak。(IRF模式)

<Sysname> system-view

[Sysname] license activation-file uninstall flash:/license/20130813.ak chassis 2 slot 1

Uninstall file: flash:/license/20130813.uak

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

【相关命令】

·     display license activation-file

·     license activation-file install

1.2.6  license compress

license compress命令用来压缩License存储区。

【命令】

独立运行模式:

license compress slot slot-number

IRF模式:

license compress chassis chassis-number slot slot-number

【视图】

系统视图

【缺省用户角色】

network-admin

mdc-admin

【参数】

slot slot-number:表示对指定主控板的License存储区进行压缩,主控板将删除无效的License数据,对License存储区空间进行释放,用于安装新的激活文件。slot-number表示主控板所在的槽位号。(独立运行模式)

chassis chassis-number slot slot-number:表示对指定成员设备上指定主控板的License存储区进行压缩,将删除无效的License数据,对License存储区空间进行释放,用于安装新的激活文件。chassis-number表示设备在IRF中的成员编号,slot-number表示主控板所在的槽位号。(IRF模式)

【使用指导】

License存储区空间是有限的。执行该命令后,系统会自动判断各License的状态,将过期和卸载的License以及相关数据删除。从而释放空间,以便用户安装新的License。

需要注意的是:

·     请在执行该命令前,保存各卸载License的卸载文件。因为执行该命令后,卸载文件会被删除。

·     对于一台设备,请不要多个用户同时进行压缩License存储区的操作,否则可能导致操作失败。

【举例】

# 给1号主控板压缩License存储区。(独立运行模式)

<Sysname> system-view

[Sysname] license compress slot 1

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files.Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

# 给成员设备2的1号主控板压缩License存储区。(IRF模式)

<Sysname> system-view

[Sysname] license compress chassis 2 slot 1

This command will delete all data relevant to uninstalled and expired keys/licenses, including Uninstall keys, and create a new device ID for activation keys/files. Make sure you have saved the Uninstall keys so you can apply for a new activation key/file for the unexpired licenses that were covered by the uninstalled activation keys/files.

Are you sure you want to continue? [Y/N]: Y

This operation might take some time. Do not perform any other operations until the operation is completed or a failure message is displayed. Please wait...

 

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

新华三官网
联系我们