< Home

display license information

Function

The display license information command displays license information about the master, standby, and slave switches in a stack system.

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

Format

display license information

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

  • If the control items of the license files on the standby/slave and master switches are the same, the standby/slave switch uses its own license file and does not synchronize the license file of the master switch. You can run the display license command to check the license control items. An active/standby switchover has no impact on the license files loaded on the master, standby, and slave switches.
  • If the control items of the license files on the standby/slave and master switches are different, the standby/slave switch synchronizes the license file of the master switch. The ESN in the synchronized license file will differ from the standby/slave switch's ESN. If so, the license changes to the Trial state and enters the trial period. After an active/standby switchover, the license on the new master switch enters the trial period. You can run the display license information command on the master switch to check whether the switch's ESN is the same as the ESN in the license file.

Precautions

The display license command displays license information about the master switch only, whereas the display license information command displays license information about the master, standby, and slave switches in the stack system.

If a switch is not in a stack system, the display license information command displays license information about the switch only. If a stack system contains the master, standby, and slave switches, the display license information command displays license information about the master, standby, and slave switches.

Follow-up Procedure

If the ESN of the standby/slave switch differs from the ESN in the synchronized license file, the license enters the trial period. Apply for a new license file before the trial period expires according to the following process.

  1. Run the license revoke command on the master switch to obtain the revocation code of the license file on the switch.
  2. Run the display esn command on the master switch to collect ESNs of the master, standby, and slave switches.
  3. Log in to Huawei's license application website, and use the revocation code and ESNs of the master, standby, and slave switches to apply for a new license file for the stack system.
  4. Run the license active license-name command on the master switch to activate the new license file.

Example

# Display license information about the master, standby, and slave switches in a stack system.

<HUAWEI> display license information

Slot 0:
Current license file           : flash:/s5720-hi_slot0_full.dat
Synchronize from master board  : NO
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : YES

Slot 1:
Current license file           : flash:/s5720-hi_slot2_full.dat
Synchronize from master board  : YES
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : NO

Slot 2:
Current license file           : flash:/s5720-hi_slot2_full.dat
Synchronize from master board  : YES
Current license file esn       : 210235859810xxxxxxxx
Current slot esn               : 210235859810xxxxxxxx
License esn match with device  : YES
Table 1 Description of the display license information command output

Item

Description

Slot

Slot ID.

Current license file

Current license file.

Synchronize from master board

Whether the license file is synchronized from the master switch.

For the master switch, the value is YES.

Current license file esn

ESN in the current license file.

Current slot esn

ESN of the switch.

License esn match with device

Whether the ESN in the license file matches the switch's ESN.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >