The license command specifies a license file to be downloaded to clients.
The undo license command deletes the configured license file information.
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. |
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.
The names of the files to be downloaded cannot be the same as system license files. Otherwise, the upgrade fails.
# 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