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.
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.
Item |
Description |
---|---|
Active license |
Name and path of the active license file. |
License state |
Status of a license file:
|
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.
|
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. |
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
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. |
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
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. |