How to check the license status and expiration time of the license on an S series switch


For S series switches (except the S1700), run the display license state command to query the license status and remaining validity period of the license.
display license state Info: Current license state is Demo. 293 days remain.
The system supports the following license states:
Normal: normal license
Demo: demonstration license
Trial: trial license that has expired but is still valid during the trial period
Emergency: emergency license
Default: no activated license or expired license

Other related questions:
View license status on S series switch
On an S series switch, except S1700, run the following commands to view license information: Run the display license command to view the license file information. A switch can have only one activated license file. Run this command to view detailed information about the activated license in the system, including license file name, version, validity period, and configuration. Run the display license state command to view the license status on the MPU (modular switch) or switch (fixed switch) and number of remaining validity days. The system supports the following license states: Normal: The license is in active state. - Demo: The license is in demo state. - Trial: The license has expired but still valid during the trial period. Emergency: The license is in emergency state. Default: No license file needs to be activated or the license file has expired. Note: The preceding command displays information only when the switch has activated license file. If the switch does not have an activated license file, no information is displayed. Run the display license resource usage command to display the usage of the resource items defined in a license file. Resource usage refers to the percentage of resources used out of resources defined by the license file.

Check the PoE status on an S series switch
Command for displaying PoE status of S series switches:

<HUAWEI> display poe information
PSE Information of slot 0:
    User Set Max Power(mW)     : 739200     //Set the maximum output power. Use the maximum power by default.
    POE Power Supply(mW)       : 369600     //PoE power supply, which is determined by the PoE power supply configured on the device.
    Available Total Power(mW)  : 369600     //Total available power.
    Total Power Consumption(mW): 0          //Total output power.     
    Power Peak Value(mW)       : 0          //Peak output power.  
    Power-Management Mode      : auto
    Power High Inrush          : disable

<HUAWEI> display poe power interface gigabitethernet 0/0/3
Port PD power(mW)           : 3710          //Output power of the interface.                                           
Port PD class               : 2             //Classes of PDs. The system classifies PDs based on their maximum power.                                           
Port PD reference power(mW) : 7000          //Reference power of the PD.                                   
Port user set max power(mW) : 15400         //Set the maximum output power of the port.                                    
Port PD peak power(mW)      : 3816          //Peak power of the PDs connected to the port.                                          
Port PD average power(mW)   : 3487          //Average power of the PDs connected to the port.    

How can I query the expiration time of the MCU temporary license?
To query the expiration time of the MCU temporary license, perform the following operations: Use the Notepad to open the license.dat file. In the file, CreatedTime indicates the application time, and Attrib indicates the expiration time. You can also directly send the ESN of the device to to query the expiration time of the license.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top