The license active command activates the license file saved in the storage of the device.
This command takes effect only on the device that loads the license control item.
Parameter |
Description |
Value |
---|---|---|
file-name |
Specifies the name of a license file. file-name supports file name association. The disk where the file resides can be automatically associated.
|
The value is a string of 5 to 64 characters without spaces. |
Usage Scenario
Change or upgrade the license file when the current license file is outdated or needs higher specifications and more features. The initial state of a license file is inactive and the license file does not take effect in the system. Run this command to activate the new or updated license file.
The license active command can be used to activate a license file in the following situations:
The license needs to be activated for the first time.
You can directly run this command to activate a license.
The current license file needs to be updated.
If the specifications of the new license file are lower than those of the current license file, the system displays a message asking you whether to continue. If you choose No, the system retains the current license file. If you choose Yes, the master switch activates the current license file and the system uses the new license file.
If the configuration items of the new license file are lower than those of the current license file, check whether the configuration items required by services exist in the new license file. If not, apply for a correct license file and activate it. Otherwise, services may be interrupted due to lack of dependent license configuration items after the board or the device is restarted.
Prerequisites
The new license file has been uploaded to the device.
Follow-up Procedure
When the system restarts, the system activates the license file that was activated last time to ensure the license files are the same before and after restart.
Precautions