license active

Function

The license active command activates the license file saved in the storage media of the device.

Format

license active file-name

Parameters

Parameter

Description

Value

file-name

Specifies the name of a license file.

The value is a string of 1 to 64 characters without spaces.

Views

User view

Default Level

3: Management level

Usage Guidelines

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 patch 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.
  • If the system has an activated license file, a new license file needs to be activated.
    • License contraction: After this command is executed, 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 MPU activates the current license file, and the system uses the new license file.
    • License expansion: After this command is executed, the master MPU activates the current license file, and the system uses the new license file.

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

  • The license file must use .dat as file name extension and be saved to the default root directory in the storage device.
  • If no path is specified, the license file in the working path is activated by default.
  • If the specifications of the new license file are lower than those of the current license file (some functions are authorized in the current license file, but not in the new license file, or the new license file allows fewer resources than the current one), the system displays a message asking you whether to continue.
  • When applying for a license, ensure that the ESN is case sensitive. If the case of the device ESN is different from that of the ESN in the license file, the license file cannot be activated.

Example

# Activate license.dat in the storage device.

<AC6605> license active license.dat

Copyright © Huawei Technologies Co., Ltd.