Checking Licenses
Checking the License Status
- Run the display license state command to check the license state. This operation is not supported on APs.
For description of the license states, see Table 5-1.
<HUAWEI> display license state
Info: Master board license state: Trial. The remain days is 44.
Checking License File Information
- Run the display license command to view detailed information about the activated license file.
<HUAWEI> display license
Active License on master board: flash:/LICORTF16****-****6FD844_AC****.dat Active license : flash:/LICORTF16****-****6FD844_AC****.dat License state : Demo Revoke ticket : No ticket Product name : AC**** Product version : VxxxRxxx License file ESN : 21023********2000038 License Serial No.: LIC2014032401**** Creator : Huawei Technologies Co., Ltd. Created Time : 2020-03-24 17:21:22 Country : Unknown Custom : RD of Huawei Technologies Co., Ltd. Office : Unknown Feature name : ACSSAP Authorize type : DEMO Expired date : 2020-03-28 Trial days : 60 Item name : LH85WLANAP00 Item type : Resource Control value : 512 Item state : Normal Item expired date : 2020-03-28 Item trial days : 60 Description : LH85WLANAP00
Table 5-1 Description of the display license command outputItem
Description
Active License on master board
Name and path of the active license file on the MPU.
Active license
Name and path of the active license file.
License state
Status of a license file:Normal
This state indicates that a license file is working properly.
Trial
A license file enters the trial state if the ESN does not match the device. A license in trial state can be used for 60 days only.
If you want to continue to use a license file after the trial state, apply for a license file using the correct ESN.
A temporary license file expires and enters the trial state.
If you want to continue to use a license file after the trial state, apply for a license file and activate it.
A license file is invalid and enters the trial state.
If you want to continue to use a license file after the trial state, apply for a license file based on the revoke ticket and activate it.
If you replace the master main control board but the new ESN does not match the license file, the license file enters the trial state.
If you want to continue to use a license file after the trial state, apply for a license file matching the ESN and activate it.
Demo
When you activate a temporary license file, it enters the demo state. A temporary license file has a validity period. If you need to use functions controlled by this license, apply for a commercial license file before the temporary one expires.
The demo state exists only for a demo license file used for test and deployment.
Emergency
In emergency conditions like earthquakes, volcano explosions, and tsunamis, 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 file ESN
ESN in the license file.
License Serial No
Serial number of the license file.
Creator
Creator of the file.
Created Time
Time when the file was created
Country
Country of the authorized customer.
Custom
Authorized customer.
Office
Office of the authorized customer.
Feature name
Name of the feature controlled by the license.
The value of this parameter is fixed at ACSSAP.
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
Control item type.
Control value
Authorized count of a control item.
Item state
Status of a control item.
Item expired date
Expiration date of a control item.
Item trial days
Trial period of a control item.
Description
Description of a control item.
Checking the Usage of License Resource Items
- Run the display license resource usage command to view the usage of the resource items defined in a license file. This operation is not supported on APs.
<HUAWEI> display license resource usage
Activated License: flash:/LIC92680232*****_*****5396810CB000006.dat FeatureName | ConfigureItemName | ResourceUsage CRFEA1 LH85WLANAP00 8/16
Table 5-2 Description of the display license resource usage command outputItem
Description
Activated License
Name and path of the active license file.
FeatureName
Name of the feature controlled by the license.
ConfigureItemName
Name of a control item.
ResourceUsage
Percentage of used resources.
Checking the RTU License Loading Status of APs
- Run the display ap-rtu-status all command to check the RTU license loading status of all APs.
<HUAWEI> display ap-rtu-status all
Info: This operation may take a few seconds. Please wait for a moment.done. Active: [1] The RTU license is activated on the AP. Activating(Init):[1] The AC has not delivered the RTU file to the AP. Activating(Need reboot): [1] The AP has downloaded the RTU license and needs a restart for the license to take effect. Active fail(Flash memory not enough): [1] The flash memory on the AP is insufficient for storing the license file. Manually clear the flash space on the AP. Active fail(Invalid license): [1] Invalid license file. Verify that the license file is correct. No RTU license: [1] The license file of the AP does not exist on the AC. Upload the RTU package available for this AP and run the ap rtu load command to decompress the package. Not support RTU:[2] The AP version or model does not support the RTU license. Not active:[3] The RTU license on the AC does not have the corresponding AP. ------------------------------------------------------------- AP ID AP name RTU license SN RTU status ------------------------------------------------------------- 1 AP-1 2102351TYRW0KB001030 Active 2 AP-2 2102353KCN10L1000053 Activating(Need reboot) 3 AP-3 2102353GSF10KC00002 No license on AP 4 AP-4 - No RTU license 5 AP-5 2102353GSF10KC00003 Active fail(Flash memory not enough) 6 AP-6 2102353GSF10KC00004 Active fail(Invalid license) 7 AP-7 2102353GSF10KC00005 Not support RTU 8 AP-8 - Not support RTU 9 AP-9 2102353GSF10KC00006 Activating(Init) - - 2102353GSF10KC10005 Not active - - 2102353GSF10KC20005 Not active - - 2102353GSF10KC30005 Not active ------------------------------------------------------------- Total: 12
Table 5-3 Description of the display ap-rtu-status all command outputItem
Description
AP ID
AP ID.
AP name
AP name.
RTU license SN
ESN in the RTU license file, which is not the ESN of the AP.
If no ESN or an invalid ESN is contained in a license file, the file is considered invalid and this field is displayed as -.
If the license file does not contain the RTU license file for the AP, this field is displayed as -.
RTU status
RTU license loading status.
- Active: The RTU license has been activated on an AP.
- Activating(Init): The AC has not delivered the RTU license file to an AP.
- Activating(Need reboot): An AP has downloaded and stored the RTU license file, and needs a restart for the file to take effect.
- No RTU license: The AC does not have the RTU license file for an AP. You need to upload the RTU license package containing the RTU license for the AP and run the ap rtu load command to unzip the package.
- Active fail(Flash memory not enough): The flash memory on an AP has insufficient space to store the RTU license file. You need to manually clear the flash memory on the AP.
- Active fail(Invalid license): The RTU license file is invalid. Verify that the file is correct.
- Not support RTU: The model software version or model of an AP does not support the RTU license.
- Not active: The AC has the RTU license but the corresponding AP is not online on the AC.
- -: An AP goes online on the standby AC. Query the RTU license on the active AC.