< Home

license revoke

Function

The license revoke command revokes a license file.

Format

license revoke

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

License is an authorization file. You can apply for, upgrade, or activate the license file to get corresponding user rights.

If new devices are deployed, you can purchase new licenses as needed to enable license-controlled features and functions on the devices. This reduces purchase costs. If the capacities of the existing devices need to be expanded, you can update the licenses used on the devices to enable more license-controlled features and functions.

You can upgrade a license file to:

  • Add new features.
  • Change function specifications.
  • Rectify a fault on the active or standby MPU.

Before updating a license file, run the license revoke command to revoke the existing license. The system then returns a license revocation code. This code is an evidence for license invalidation and is used to apply for a new license.

A license revocation code is a character string generated after a license file becomes invalid. You can check the revocation code to determine whether the unique license file becomes invalid.
Precautions
  • If the license file has been activated but has expired, you cannot run the license revoke command to revoke the license file. Instead, you must apply for a new license file and then upgrade and activate it. Otherwise, the license file becomes invalid after its expiration, terminating function modules and interrupting services.
  • After you run the license revoke command, the license file enters the Trial state and cannot be reactivated regardless of how long the file expires.
  • The trial use period of a license is 60 days, during which all functions and services controlled by the license is available. You need to apply for and activate a new license within 60 days.

Example

# Revoke the current license file.

<sysname> system-view
[sysname] license revoke
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >