license switch mode

Function

The license switch mode command switches the license mode to a specified mode.

By default, the device works in non-cloud-based license mode.

Format

license switch { common | cloud } mode

Parameters

Parameter Description Value
common

License common mode.

-

cloud

License cloud mode.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
license write

Usage Guidelines

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.

Example

# Switch to cloud mode.
<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.
# Switch to common 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.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >