< Home

license

Function

The license command specifies a license file to be downloaded to clients.

The undo license command deletes the configured license file information.

Format

license file-name

undo license [ file-name ]

Parameters

Parameter Description Value
file-name Specifies the name of a license file to be downloaded to clients. The file name has an extension .dat and may contain a file path. The value is a string of 5 to 64 case-insensitive characters without spaces.

Views

Easy-Operation view, Easy-Operation group view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When clients need to load a license file, specify the license file on the Commander.

Precautions

You can load a license file only on modular switches. When a fixed switch serves as the client, the license file cannot be loaded even after you specify the license file information.

Information about the files to be downloaded can be set in the Easy-Operation view or Easy-Operation group view:
  • The file information set in the Easy-Operation view is the default file information. If no file information is set in the group database or client database, the group or client uses the default file information.
  • The files specified in the Easy-Operation group view can be downloaded by the clients that match the group.

The names of the files to be downloaded cannot be the same as system license files. Otherwise, the upgrade fails.

Example

# Specify a default license file for clients.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] license easy/test.dat

# Specify a license file in a MAC address-based group.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] group custom mac-address test
[HUAWEI-easyoperation-group-custom-test] license license.dat
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >