The procedure for loading a license on a stack system is as follows:
1. Apply for a license and upload the license file to the master switch of the stack system.
The license is bound to the ESN of a physical device, and each stack member has an independent ESN. You can apply for a license for multiple switches in a stack or for each switch.
2. In the user view, run the license active file-name command to activate the license file you uploaded.
− If there are multiple license files, run the license active file-name command multiple times and specify different values for file-name. The system will then find the matching ESN to activate the license files.
− If there is only one license file, run the license active file-name command only once.
3. Run the display license command to check whether a license file has been loaded. When the license status is Normal, the license file has been loaded successfully.
If you load the licenses on multiple devices and then set up a stack system, the features activated for the stack are a combination of features activated for these member devices. Even if a license is uploaded to only one of these devices, the license is effective for the stack system. It is recommended that all the member switches in a stack apply for licenses.
The following example describes how to load licenses in a stack of CE8800&7800&6800&5800 series switches.
l In versions earlier than V200R002C50
− If there are multiple license files:
<HUAWEI> license active
license_file_1.dat
Now activing the license......done.
MainBoard:
Info: Succeeded in activating the license file on the board.
SlaveBoard:
Error: The ESN of the license file does not match with the device.
<HUAWEI> license active license_file_2.dat
Now activing the license......done.
MainBoard:
Error: The ESN of the license file does not match with the device.
SlaveBoard:
Info: Succeeded in activating the license file on the board.
− If there is a single license file:
<HUAWEI> license active
license_file.dat
Now activing the license...........done.
MainBoard:
Info: Succeeded in activating the license file on the board.
SlaveBoard:
Info: Succeeded in activating the license file on the board.
l In V200R002C50 and later versions
− If there are multiple license files:
<HUAWEI> license active
license_file_1.dat
Now activing the license......
Info: The license file is verified successfully, but there are some minor
errors, including
ESN mismatch
Warning: This operation maybe use the trial license instead of current license,
may be reduce current resource or functions on slot 2. Continue?
[Y/N]: n //If this message is
displayed when the first license file is loaded, enter y or n as
required.
MainBoard:
Info: Succeeded in activating the license file on the board.
SlaveBoard:
Info: Skip activating the license because it will reduce current resource or
function.
<HUAWEI> license active license_file_2.dat
Now activing the license......
Info: The license file is verified successfully, but there are some minor
errors, including
ESN mismatch
Warning: This operation maybe use the trial license instead of current license,
may be reduce current resource or functions on slot 1. Continue?
[Y/N]: n //When the second license
file is being loaded, you must enter n; otherwise, the first license
file is overwritten.
MainBoard:
Info: Skip activating the license because it will reduce current resource or
function.
SlaveBoard:
Info: Succeeded in activating the license file on the board.
If you enter y when the message "Warning: This operation maybe use the trial license instead of current license" is displayed, the license file is loaded to all the switches regardless of whether their ESNs match the ESN in the license file. If their ESNs do not match the ESN in the license file, their license status is Trial. If you enter n, the license file is loaded only to the switch with the ESN matching the ESN in the license file.
− If there is a single license file:
<HUAWEI> license active
license_file.dat
Now activing the license......done.
MainBoard:
Info: Succeeded in activating the license file on the board.
SlaveBoard:
Info: Succeeded in activating the license file on the board.
For details, see the CE Series Switches License Usage Guide.
Step 1 Log in to the enterprise technical support website at http://support.huawei.com/enterprise.
Step 2 Click Switches.
Step 3 Click the name of the product to be queried, for example, CE12800.
Step 4 Choose Installation & Upgrade > License Guide to find the License Usage Guide for your switch model.
CE12800 Series Switches License Usage Guide
CE8800&7800&6800&5800 Series Switches License Usage Guide
This post was last edited by user_155725 at 2018-05-02 06:23.