< Home

Checking Licenses

Checking the License Status

Run the display license state command to check the license status on the fixed switch.

For details about the license status, see Table 1.

<HUAWEI> display license state
Info: Current license state is Trial. 60 days remain.

Checking Detailed Information About the License File

Run the display license command to check detailed information about the activated license file in the system. S5720 is used as an example.

<HUAWEI> display license
 Active license    : flash:/LICORTF163673-554BEF51E8.dat
 License state     : Trial
 Revoke ticket     : No ticket
 
 RD of Huawei Technologies Co., Ltd.
 
 Product name      : S5700
 Product version   : V200R009
 License Serial No : LIC2014032800EC50
 Creator           : Huawei Technologies Co., Ltd.
 Created Time      : 2014-03-28 16:38:36
 Feature name      : ES5FEA1
 Authorize type    : DEMO
 Expired date      : 2014-05-25
 Trial days        : 60

 Item name          Item type  Value    Description
 -------------------------------------------------------------
 ES5SF4512K00       Resource   2        FIB512K  ES5SF4128K00       Resource   6        FIB128K
 ES5SWL16AP00       Resource   64       WL16AP   ES5SWL64AP00       Resource   16       WL64AP  
 ES5SWL128AP0       Resource   8        WL128AP  ES5SWL512AP0       Resource   2        WL512AP
                                          
 Master board license state: Trial. The trial days remains 60 days. Apply for authentic license before the current license expires.
Table 1 Description of the display license command output

Item

Description

Active license

Name and path of the active license file.

License state

Status of a license file:
  • Normal

    This state value indicates that a license file is working properly. If the status of the license file on the live network is not Normal, check the license file.

  • Trial

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

      To continue to use a license file after the Trial state, apply for a new license file using the correct ESN.

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

      To continue to use a license file after the Trial state, apply for a new license file and activate it.

    • A license file is revoked and enters the Trial state.

      To continue to use a license file after the Trial state, apply for a new license file based on the revocation code and activate it.

    • If you replace the master switch but the new ESN does not match the license file, the license file enters the Trial state.

      To continue to use a license file after the Trial state, apply for a new license file matching the new ESN and activate it.

  • Demo

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

    A license file in Demo state allows you to use normal functions within a specified period. Before the expiration of the license file in Demo state, replace it with a commercial license file.

  • Emergency

    In the emergency conditions like earthquake, volcano explosion, and tsunami, you can run the license emergency command to trigger a license file to enter the Emergency state. The Emergency state stays for seven days, and a license file can enter the Emergency state three times.

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

    If a license file enters the Default state, services may be interrupted.

    If you want to use services after a license file expires or becomes invalid, apply for a new license file and activate it.

Revoke ticket

License revocation code.

Product name

Name of the product that runs the license.

Product version

Product version.

License Serial No

Serial number of license file.

Creator

Creator of the file.

Created Time

Time when the file was created.

Feature name

Feature name.

Authorize type

Authorization type.
  • demo: trial authorization.
  • comm: commercial authorization.

Expired date

License expiration date. PERMANENT indicates that the license is permanently valid.

Trial days

Trial period.

Item name

Name of a control item.

Item type

Type of a control item.

Value

Value of a control item.

Description

Description of a control item.

Checking the License Information About the Master/Standby/Slave Switches in a Stack

Run the display license information command to check the license information about the master, standby, and slave switches. S5720-HI is used as an example.

The display license information command is supported since V200R009C00.

<HUAWEI> display license information

Slot 0:
Current license file           : flash:/s5720-hi_slot0_full.dat
Synchronize from master board  : NO
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : YES

Slot 1:
Current license file           : flash:/s5720-hi_slot2_full.dat
Synchronize from master board  : YES
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : NO

Slot 2:
Current license file           : flash:/s5720-hi_slot2_full.dat
Synchronize from master board  : YES
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : YES
Table 2 Description of the display license information command output

Item

Description

Slot

Slot ID.

Current license file

Current license file.

Synchronize from master board

Whether the license file is synchronized from the master switch.

For the master switch, the value is YES.

Current license file esn

ESN in the current license file.

Current slot esn

ESN of the switch.

License esn match with device

Whether the ESN in the license file matches the switch's ESN.

Checking the Usage of the Resource Items Defined in the License File

Run the display license resource usage command to check the usage of the resource items defined in the license file. S5720-HI is used as an example.

<HUAWEI> display license resource usage
Info: Active License on master board: flash:/LICORTF163673-554BEF51E8.dat
 FeatureName    | ConfigureItemName       | ResourceUsage

 ES5FEA1           ES5SF4512K00                0/2
 ES5FEA1           ES5SF4128K00                0/6
 ES5FEA1           ES5SWL16AP00                0/64
 ES5FEA1           ES5SWL64AP00                0/16
 ES5FEA1           ES5SWL128AP0                0/8
 ES5FEA1           ES5SWL512AP0                0/2
Table 3 Description of the display license resource usage command output

Item

Description

Activated License on master board

File name and path of an active license name.

FeatureName

Name of the feature controlled by the license.

ConfigureItemName

Name of a control item.

ResourceUsage

Percentage of used resources.

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