The license switch mode command switches the license mode to a specified mode.
By default, the device works in non-cloud-based license mode.
Usage Scenario
The device defaults to common mode. If the device needs to use the cloud license resource, it needs to switch to the cloud mode first and then apply for the resource from the cloud server. The device can also switch back to the common mode and use the resources in the common license file.
Precautions
Switching to the cloud mode, make sure that there is no activated license file on the device or that the activated license file has been revoked.
Switching to the common mode, make sure that there is no cloud license assigned to the device or that the assigned license resources have been revoked.
In VS mode, this command is supported only by the admin VS.
<HUAWEI> license switch cloud mode
Warning: This operation will switch to the cloud mode. Continue? [Y/N]:Y
Warning: This operation will disable the license-emergency or disable the license-controlled feature if has been enabled. Continue? [Y/N]:Y
Info: Succeeded in switching to the cloud mode.
<HUAWEI> license switch common mode
Warning: This operation will switch to the common mode. Continue? [Y/N]:Y
Info: Succeeded in switching to the common mode.