- Table of Contents
-
- 01 Fundamentals Configuration Guide
- 00-Preface
- 01-CLI configuration
- 02-Login management configuration
- 03-RBAC configuration
- 04-FTP and TFTP configuration
- 05-File system management configuration
- 06-Configuration file management configuration
- 07-Software upgrade configuration
- 08-ISSU configuration
- 09-Device management configuration
- 10-Tcl configuration
- 11-Python configuration
- 12-License management
- 13-Automatic configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
12-License management | 84.17 KB |
Registering and activating a license·
Compressing the license storage
Displaying and maintaining licenses·
License-based features, such as EVB, TRILL, and VXLAN, require a license to run on your device. To use a license-based feature, you must purchase a license or obtain a free trial license.
This chapter describes how to license a feature, transfer a license between devices, remove a license, and manage the license storage space.
License types
The following types of licenses are available depending on validity period:
· Permanent—A permanent license is always valid and never expires.
· Days restricted—A license valid for a limited period in days, for example, 30 days. Trial licenses are typically days restricted.
The following types of licenses are available depending on locking method:
· Device locked—A license can be installed only on the DID-specific device. The license takes effect on any MPU in the device even after an MPU replacement. Licenses for the switch are device locked.
· MPU locked—A license can be installed only on the DID-specific MPU. The license takes effect on the MPU even after the MPU is moved to a different device.
Restrictions and guidelines
When you manage licenses, follow these restrictions and guidelines:
· Use the display license feature command to identify license-based features and their licensing information.
· License registration requires a license key, hardware SN, and DID. This information is device specific. If the registration is successful, the licensing system returns an activation file.
· The activation file is locked to the device with the specific DID, and it cannot be used on any other devices.
· Do not delete or move files in the flash:/license directory on an MPU. The license management feature uses this directory for license management. An incorrect file operation can cause problems. For example, if you delete an activation file that is usable or in use, the related feature will not function correctly. If a file is missing or corrupted, copy the activation file to the directory to recover the license. To verify the license state, use the display license command.
· When installing a license, the system also searches the storage media for a matching feature package. When it finds a matching package, it stops searching and installs the package.
· When uninstalling a license, the system checks whether the feature package for the license is running. If it is running, the system uninstalls the package automatically.
· For a license-based feature to run correctly on an IRF fabric:
¡ Install one license for the feature on each member in the fabric.
¡ Make sure the licenses installed on the members are the same.
Registering and activating a license
|
IMPORTANT: · To avoid file corruption, do not open the .id file or the activation file. · If you use FTP to transfer the .id file and the activation file, use the Binary mode. |
To register and activate a license:
Step |
Command |
1. Identify the number of available license storage entries. |
display license feature |
2. (Optional.) Compress the license storage if the free license storage is not sufficient for licenses to be activated. |
|
3. Obtain the SN string and the DID's .id file on the device. |
display license device-id |
4. Use FTP or TFTP to transfer the .id file to the PC. |
N/A |
5. Identity the license key on your license. |
N/A |
6. Visit http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/. |
· To register a license for a device that has never been activated, select Register the First Time from the navigation tree. · To register for add-on nodes, add-on features, or time extension, select Register Upgrade Licenses from the navigation tree. You have to purchase licenses for the first installation and the extension. |
7. Use the license key, SN, and DID to register the license. |
N/A |
8. Download the activation file to the device. |
N/A |
9. Enter system view. |
system-view |
10. Install the activation file. |
license activation-file install [ file-name ] slot slot-number |
|
NOTE: If you can neither obtain nor re-register the activation file due to problems such as operating system and browser errors, contact H3C support. |
Transferring a license
You can transfer a license from one device to another if its activation file has not expired. If the activation file has expired, the license is not transferrable.
To transfer a license:
Step |
Command |
Remarks |
|
||
1. Enter system view on the source device. |
system-view |
N/A |
|||
2. Uninstall the activation file. |
license activation-file uninstall [ file-name ] slot slot-number |
When an activation file is uninstalled, the system creates an Uninstall key. You must provide this key when you register the license for the target device. If you cannot obtain the Uninstall key due to system error, contact H3C support. The uninstallation action does not delete license data from the license storage area. To free storage space, you must compress the license storage (see "Compressing the license storage"). |
|||
3. Access the target device and display the SN string and the DID's .id file path. |
display license device-id |
N/A |
|||
4. Send the SN string, the .id file, and Uninstall file to H3C support. |
N/A |
H3C Support will use the information to obtain the new activation file for the target device and send the file back to you. |
|||
5. Download the new activation file to the target device. |
N/A |
N/A |
|||
6. Install the activation file on the target device. |
N/A |
||||
Compressing the license storage
|
CAUTION: The DID changes each time the license storage is compressed. Before performing a compression, make sure all activation files generated based on the old DID have been installed. They cannot be installed after the compression. |
If the license storage area is not sufficient for installing new licenses, compress the license storage. This action deletes expired licenses and uninstalled licenses.
To compress the license storage:
Step |
Command |
1. Enter system view. |
system-view |
2. Compress the license storage. |
license compress slot slot-number |
Displaying and maintaining licenses
Execute display commands in any view.
Task |
Command |
Display the SN and DID of an IRF member device. |
display license device-id slot slot-number |
Display detailed license information. |
display license [ activation-file ] [ slot slot-number ] |
Display brief feature license information. |
display license feature |