display license

Function

The display license command displays information about an active license file.

Format

display license

display license verbose

Parameters

Parameter Description Value
verbose

Displays details about a license file.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
license read

Usage Guidelines

Usage Scenario

A license file determines whether some product features are available. To view information about an active license file, run the display license command. The information includes the name, version, valid time, and configuration items of the license file.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about an active license file.
<HUAWEI> display license
 Active License    : cfcard:/license.dat
 License state     : Demo
 Revoke ticket     : No ticket 

 RD of Huawei Technologies Co., Ltd.

 Product name      : NetEngine 8000 F
 Product version   : V800R021C00SPC100
 License Serial No : LIC20140227016150
 Creator           : Huawei Technologies Co., Ltd.
 Created Time      : 2019-07-11 22:47:08
-------------------------------------------------------------
 Feature name      : CXFEA03
 Authorize type    : demo
 Expired date      : 2020-05-20
 Trial days        : --

 Item name          Item type      Value      Description
 ------------------------------------------------------------- 
 *****0200VA00      Function       1          *****0200VA00
 *****02VA1C00      Resource       1          *****02VA1C00     

 Item name          (View)Resource License Command-line
 ------------------------------------------------------------- 
 *****02VA1C00      (License)Active va slot slot-id

 Master board license state: Demo. The license for the current configuration will expire in 62 day(s).
 Apply for authentic license before the current license expires.
# Display the information about an active license file which Sales and display are consistent.
<HUAWEI> display license
 Active License    : cfcard:/license.xml
 License state     : Demo
 Revoke ticket     : No ticket

 RD of Huawei Technologies Co., Ltd.

 Product name      : NetEngine 8000 F
 Product version   : V800R021C00SPC100
 License Serial No : LIC20190424S0G55M
 Creator           : Huawei Technologies Co., Ltd.
 Created Time      : 2019-04-24 15:03:32
 SnS End Date      : 2020-03-25
-------------------------------------------------------------
 Feature name      : Trial0
 Authorize type    : demo
 Expired date      : 2020-07-12
 Trial days        : --

 Item name          Item type      Value      Description
 -------------------------------------------------------------
 *****0VA5C00       --             8          XXXX Host License for 5 Client
  *****LCK00        Function       YES        *****LCK00
  *****40VA5C00     Resource       80         XXXX Host License for 5 Client
 *****0VA1C00       --             40         XXXX Host License for 1 Client
# Display the verbose information about an active license file.
<HUAWEI> display license verbose
 Active license    : cfcard:/license.xml
 License state     : Demo
 Revoke ticket     : No ticket

 Product name      : NetEngine 8000 F
 Product version   : V800R021C00SPC100
 License file ESN  : 391091068000297
 License Serial No : LIC20190424S0G55M
 Creator           : Huawei Technologies Co., Ltd.
 Created Time      : 2020-04-07 15:03:32
 Country           : English
 Custom            : RD of Huawei Technologies Co., Ltd.
 Office            : ShenZhen
 
 Feature name      : Trial0
 Authorize type    : demo
 Expired date      : 2020-07-12
 Trial days        : --
 Sale name         : *****0VA5C00
 Item name         : *****LCK00
 Item type         : Function
 Control value     : 1
 Used value        : 1
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : *****LCK00
 
 Sale name         : *****0VA5C00
 Item name         : *****40VA5C00
 Item type         : Resource
 Control value     : 80
 Used value        : 0
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : XXXX Host License for 5 Client
 
 Sale name         : *****0VA1C00
 Item name         : *****40VA1C00
 Item type         : Resource
 Control value     : 400
 Used value        : 0
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : XXXX Host License for 1 Client
# Display the verbose information about an active license file which Sales and display are consistent.
<HUAWEI> display license verbose
 Active license    : cfcard:/license.xml
 License state     : Demo
 Revoke ticket     : No ticket

 Product name      : NetEngine 8000 F
 Product version   : V800R021C00SPC100
 License file ESN  : 391091068000297
 License Serial No : LIC20190424S0G55M
 Creator           : Huawei Technologies Co., Ltd.
 Created Time      : 2020-04-07 15:03:32
 SnS End Date      : 2020-03-25
 Country           : English
 Custom            : RD of Huawei Technologies Co., Ltd.
 Office            : ShenZhen
 
 Feature name      : Trial0
 Authorize type    : demo
 Expired date      : 2020-07-12
 Trial days        : --
 Sale name         : *****0VA5C00
 Item name         : *****LCK00
 Item type         : Function
 Control value     : 1
 Used value        : 1
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : *****LCK00
 
 Sale name         : *****0VA5C00
 Item name         : *****40VA5C00
 Item type         : Resource
 Control value     : 80
 Used value        : 0
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : XXXX Host License for 5 Client
 
 Sale name         : *****0VA1C00
 Item name         : *****40VA1C00
 Item type         : Resource
 Control value     : 400
 Used value        : 0
 Item state        : Demo
 Item expired date : 2020-07-12
 Item trial days   : 60
 Description       : XXXX Host License for 1 Client
Table 1 Description of the display license command output
Item Description
Active license

Name of an active GTL file.

License state

Status of a license file:

  • Normal: indicates the normal activation state.

The license file on the live network must be in the Normal state. Otherwise, the license file has potential problems and needs to be checked.

  • Trial: indicates the trial state.
  • A license file enters the trial state if the ESN in the license file does not match the ESN of the device. A license file can be used for 60 days only.

In this case, you need to apply for a license file matching the ESN and activate it.

  • A temporary license file expires and enters the Trial state.

In this case, you need to apply for a formal license file and activate it.

  • A license file becomes invalid and enters the Trial state.

In this case, you need to apply for a new license file based on the revocation code and activate the license file.

  • After the main control board is replaced but the license file matching the ESN is not replaced, the license file enters the trial state.

In this case, you need to apply for a license file matching the ESN and activate the license file.

  • Demo: indicates the demo state.

When you activate a temporary license file, the file is in Demo state. The Demo state exists only for a demo license file used for test and deployment.

In this case, the functions can be used properly, but the license file has a validity period. Ensure that the license file is replaced with a commercial license file before the license file expires.

  • Emergency: indicates the disaster recovery state.

In emergencies such as earthquakes, volcanoes, and tsunamis, you can run the license emergency command to trigger a license file to enter the emergency state. The emergency state lasts for seven days. and a license file can enter the Emergency state three times.

  • Default: No license file is activated or the license file expires.

After a license file is activated, the license file enters the default state due to expiration or invalidity. As a result, services are interrupted.

No matter whether the license file expires or becomes invalid, you need to apply for a new license file and activate it.

License Serial No

Serial number of a license file.

License file ESN

Device serial number.

Revoke ticket

Revoke ticket of a license file.

Product name

Name of an authorized product.

Product version

Version of an authorized product.

Creator

Creator of a license file.

Created Time

Time when a license file was created.

Feature name

Feature name in the format of yyyy-mm-dd.

Authorize type

Authorization type.

  • demo: license file for trial use.
  • comm: license file for commercial use.
Expired date

Expiration date of a license file, in the format of yyyy-mm-dd.

Trial days

Number of days that a license file can be used for trial.

Item name

Name of a configuration item.

Item type

Type of a configuration item.

Item state

Status of a license item.

Item expired date

Yearly fee collection date of a license item.

Item trial days

Validity period of a license item.

Value

Value of a configuration item.

Description

Description of a configuration item.

Master board license state

Status of a license file on the master board.

SnS End Date

Deadline for annual fee.

Country

Country of user.

Custom

Use name.

Office

Use location.

Sale name

Sale name.

Control value

The authorized value of a configuration item.

Used value

The used value of a configuration item.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >