How to Load a License for a Stack System
The procedure for loading a license on a stack system is as follows:
- 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.
- In the user view, run thelicense active file-name command to activate the license file you uploaded.
- If there are multiple license files, run the license activefile-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 activefile-name command only once.
- 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.
You can also load a license on multiple switches separately and then set up a stack.
Apply for and load an official commercial license. A temporary license has a validity period and becomes invalid after it expires. Therefore, you need to replace it with an official commercial license before it expires.
The following example describes how to load licenses in a stack of CE8800&7800&6800&5800 series switches.
- 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.
- If there are multiple license files:
- 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.
- If there are multiple license files: