< Home

display license state

Function

The display license state command displays the license status on the device.

This command takes effect only on the device that loads the license control item.

Format

display license state

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

To check the status of the running license, run this command. The command displays the current status of the license and the number of days before the license in this status will expire.

The system supports the following license states:

  • Normal: normal license
  • Demo: demonstration license
  • Trial: trial license that has expired but is still valid during the trial period
  • Emergency: emergency license
  • Default: default license

This command helps you locate license problems and verify the license status on the device.

Prerequisites

A license file has been stored on the main control board of the device and has been activated. This ensures that valid entries are displayed after the execution of the command. If the license file is not activated, no command output is displayed.

Example

# Display the status of the license on the device.

<HUAWEI> display license state
Info: Current license state is Trial. 60 days remain.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >