01-Fundamentals Configuration Guide

HomeSupportSwitchesS6860 SeriesConfigure & DeployConfiguration GuidesH3C S6860 Switch Series Configuration Guide-Release 26xx-6W10301-Fundamentals Configuration Guide
13-License management
Title Size Download
13-License management 97.91 KB

Managing licenses

Overview

To use license-based features, you must purchase licenses from H3C and install the licenses.

To obtain information about license-based features, their licensing status, and license availability, execute the display license feature command on the device. Then, you can purchase and install licenses as needed.

License types

H3C offers preinstalled, trial (or temporary), and formal licenses. Support for preinstalled and trial licenses varies by device model. For more information about the license options available for the device, see the license matrixes document for the device.

Preinstalled licenses

Preinstalled licenses are built into a system and are available for use on initial startup of the system. Users do not need to activate them.

A preinstalled license is typically time limited and cannot be uninstalled or transferred.

When a preinstalled license expires, the license-based feature becomes unavailable. To continue to use the feature, you must purchase and install a formal license for it.

Trial licenses

Trial licenses are provided for you to verify the functionality of premium features so you can make an educated purchase decision.

A trial license is time limited and cannot be uninstalled or transferred.

When a trial license expires, the license-based feature becomes unavailable. To continue to use the feature, you must purchase and install a formal license for it.

To obtain a trial license for a feature:

1.      Contact your H3C sales representative or technical support.

2.      Register the trial license key with H3C License Management Platform to obtain an activation file.

3.      Install the activation file to activate the feature.

Formal licenses

To gain most from a license-based feature, purchase a formal license for it.

Formal licenses are available with different validity periods and their support for uninstallation and transfer of formal licenses depends on the device model. For more information, see the license matrixes document for the device.

To install a formal license for a feature:

1.      Purchase a software license certificate through an official channel.

2.      Access H3C License Management Platform, and then enter the license key in the certificate and the required device information to obtain an activation file.

3.      Install the activation file in the target system.

Basic concepts

The following information describes the basic concepts that you might encounter when you register, install, and manage licenses.

H3C License Management Platform

H3C License Management Platform provides product licensing services for H3C customers. You can access this system to obtain an activation file, transfer licenses, or remove the device and license binding for an uninstalled license.

H3C License Management Platform is accessible at http://www.h3c.com/en/License/.

Software license certificate

A software license certificate allows users to use a license-based feature. It contains license key, license capacity, and other information.

License key

A license key uniquely identifies a license.

·           To obtain a formal license key, purchase a software license certificate. The authorization serial number in the software license certificate is the license key.

·           To obtain a trial license key, contact your H3C sales representative or H3C technical support. Support for trial licenses depends on the device model. For more information, see the license matrixes document for the device.

Device serial number

A device serial number (SN or S/N) is a barcode that uniquely identifies a device. It comes with the device and must be provided when you request a license in H3C License Management Platform.

Device ID (DID) and DID file

A DID is a string of characters that uniquely identifies a hardware device. A DID file stores the DID and other information. The device comes with a DID or DID file. You must provide the DID or DID file when you request a license for the device on H3C License Management Platform.

Activation file

An activation file binds a license to a system.

To use a license-based feature on a system, you must perform the following tasks:

1.      Use the license key and the system’s SN and DID information to obtain an activation file from H3C License Management Platform.

2.      Install the activation file on the system.

Uninstall key and Uninstall file

When you uninstall a license, an Uninstall file that contains an Uninstall key is created. The Uninstall key is required for transferring the license.

License storage

License storage is a persistent storage of fixed size for storing licensing information. This information includes the licensing state, validity period, Uninstall key or Uninstall file, and other related information.

Data in the license storage persists through reboot. This ensures licensing accuracy and continuity.

License management configuration restrictions and guidelines

Management operation restrictions

·           Purchase licenses from H3C official channels.

·           For licenses that have been installed on the device, execute the display license command to view the license validity period. To use a license-based feature continuously, install a new license for the feature before the old license expires.

·           Licenses are typically device locked. To ensure a successful licensing, use the following licensing guidelines:

a.    When you purchase a license certificate, verify the following items:

-       Make sure the license is compatible with the target device.

-       Make sure its licensed functionality and capacity meet your requirements.

b.    When you obtain an activation file, make sure the provided license key and hardware information are correct.

c.    Install the activation file on the correct target device.

·           Make sure no one else is performing license management tasks while you are managing licenses on the device.

File operation restrictions

When you manage DID files, activation files, or Uninstall files, follow these restrictions and guidelines:

·           To avoid licensing error, do not modify the name of a DID file, activation file, or Uninstall file, or edit the file content.

·           Before you install an activation file, download the activation file to the storage media of the device such as flash memory. When installing an activation file, the device automatically copies the activation file to the license folder in the root directory of the storage media. The license folder stores important files for licensing. For licensed features to function correctly, do not delete or modify the license folder or the files in this folder.


Configuring local licensing

Overview

Local licensing requires license activation device by device. It is applicable to small-sized networks.

To install a license on a device:

1.      Obtain the license key and the device SN and DID information of the device.

2.      Access H3C License Management Platform to apply for an activation file based on the license key and the device's SN and DID information.

3.      Install the activation file on the device to activate the license.

The activation file for a license is device locked. You cannot install the activation file for one device to activate the license on another device.

Figure 1 Local licensing procedure

Registering and installing a license

License registration and installation workflow

The procedures for registering and installing formal licenses and trial licenses are the same. Figure 2 shows the procedure for registering and installing a license.

This chapter only describes the operations performed on the device. For more information, see the licensing guide for the device.

Figure 2 License registration and installation workflow

Identifying the license storage

Task

Command

Remarks

Identify the free space of the license storage.

display license feature

This command is available in any view.

From the command output, view the Total and Usage fields to examine whether the remaining license storage is sufficient for installing new licenses. If the remaining license storage is not sufficient, compress the license storage.

 

Compressing the license storage

Overview

The license storage stores licensing information and has a fixed size.

You can compress the license storage to delete expired and uninstalled license information to ensure sufficient storage space for installing new licenses.

If no licenses have been installed on the device, you do not need to compress the license storage.

Configuration prerequisites

Back up the Uninstall keys or Uninstall files for the uninstalled licenses for subsequent license transfer or license uninstallation on H3C License Management Platform.

If uninstalled licenses or expired licenses exist on the device, the compression operation will make the DID or DID file change. You will be unable to install the activation file obtained by using the old DID or DID file on the device. As a best practice, install all activation files registered with the old DID or DID file before performing a compression.

If you have not installed an activation file registered with the old DID, take the following actions:

·           If the license storage is sufficient, install the activation file on the device. For more information, see the licensing guide for the device.

·           If the license storage is insufficient and the activation file cannot be installed after the compression, contact H3C Support.

Configuration procedure

To compress the license storage:

 

Step

Command

1.      Enter system view.

system-view

2.      Compress the license storage.

license compress slot slot-number

 

Obtaining required information for license registration

Task

Command

Remarks

Obtain the SN and DID information.

display license device-id slot slot-number

This command is available in any view.

 

Installing an activation file

Overview

CAUTION

CAUTION:

Back up an activation file before you install it. If the activation file is inadvertently deleted or becomes unavailable for some other reason, you can use the backup activation file to restore the license.

To obtain a license, install an activation file for the license on the device.

Configuration prerequisites

Use FTP or TFTP to upload the activation file to be installed to the device. If FTP is used to transfer the activation file, set it in binary mode.

Configuration procedure

To install an activation file:

 

Step

Command

Remarks

1.      Enter system view.

system-view

N/A

2.      Install an activation file.

license activation-file install file-name slot slot-number

You can install a single .ak file or multiple .ak files through one operation. To install multiple .ak files, save all activation files in the same directory and specify the directory as the value of the file-name argument.

 

Transferring a license

Overview

Perform this task to transfer a license that has not expired from one device to another in the same product series.

License transfer workflow

To transfer licenses from one device to another, use the workflow in Figure 3.

This chapter describes only the operations performed on the source device. For the operations performed on the target device, see "Registering and installing a license." For more information about license transfer, see the licensing guide for the device.

Figure 3 License transfer workflow

Obtaining an Uninstall file

Step

Command

Remarks

1.      View the activation file to be uninstalled.

display license

This command is available in any view.

2.      Enter system view.

system-view

N/A

3.      Uninstall an activation file.

license activation-file uninstall file-name slot slot-number

You can uninstall a single .ak file or multiple .ak files through one operation. To uninstall multiple .ak files, save all activation files in the same directory and specify the directory as the value of the file-name argument.

 

Uninstalling a license

Overview

A license key is bound to a device once you activate the license key on H3C License Management Platform. You cannot bind this license key to another device. To unbind a license key for a license that has not expired from a device, obtain the Uninstall key or Uninstall file for the license on the device. Then, request for license uninstallation on H3C License Management Platform.

After license uninstallation is requested successfully, you can use this license key to request a new activation file on H3C License Management Platform.

The new activation file can be installed on another device for license transfer or on the local device for license restoration.

License uninstallation workflow

For information about obtaining the Uninstall file for a license, see "Obtaining an Uninstall file." For more information about license uninstallation, see the licensing guide for the device.

Figure 4 License uninstallation workflow

Recovering an activation file

If you mistakenly delete an activation file, use the following procedure to recover the activation file:

1.      Use the copy command to copy the backup activation file to the license folder in the root directory of the storage media.

2.      Use the display license command to verify that the state of the recovered activation file is In use.

3.      Restart the device if the license state is In use but the licensed feature cannot function correctly.

Displaying and maintaining licenses

Execute display commands in any view.

 

Task

Command

Display detailed license information.

display license [ activation-file ] [ slot slot-number ]

Display the SN and DID information.

display license device-id slot slot-number

Display brief feature license information.

display license feature

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网