01-Fundamentals Configuration Guide

HomeSupportSwitchesH3C S12500G-AF Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500G-AF Switch Series Configuration Guides-Release759X-6W10001-Fundamentals Configuration Guide
13-License management
Title Size Download
13-License management 115.59 KB

Managing licenses

About licenses

License-based features require licenses to run on your device.

License types

Licenses include trial licenses and formal licenses. Trial licenses typically have time limits. After a trial license expires, the license-based feature is not available unless you purchase and install a formal license for the feature.

Licenses for different device types

Licenses for the unified wired and wireless access controller feature

You can use the licenses to control the maximum number of concurrent online APs.

In an IRF fabric, you can install a license on any member device but the AP can go online only through the master device. The total number of concurrent online APs cannot exceed the sum of AP count allowed by licenses on all member devices. For example, the license on member device 1 allows a maximum of 10 concurrent online APs and the license on member device 2 allows 5 concurrent online APs. In this case, a maximum of 15 concurrent online APs are allowed in the IRF fabric.

If a member device installed with a license leaves the IRF fabric, its license will continue to function for a 30-day grace period in the original IRF fabric to ensure service continuity. Meanwhile, the license also takes effect on the leaving device.

Licenses for features other than the unified wired and wireless AC feature

(In standalone mode.) You must purchase a license key for the entire device. To license the device, use the license key and the device's SN and DID to register an activation file and install the activation file on the device.

(In IRF mode.) You must purchase a license key for each IRF member device. To license an IRF member device, use the license key and the member's SN and DID to register an activation file and install the activation file on the IRF member device. An IRF member device is licensed even if the device joins another IRF fabric.

Restrictions and guidelines: License management

Management operation

Make sure no one else is performing license management tasks on the device you are working with.

You can manage licenses only on the default MDC. Any license operation performed on the default MDC takes effect on all MDCs. For information about MDCs, see Virtual Technologies Configuration Guide.

Activation file and DID file operations

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

·     Do not open and edit the files to avoid file corruption.

·     Do not modify the names of the files to avoid licensing error.

·     For licensed features to function correctly, do not delete files that are usable or in use in the flash:/license directory. The license management feature uses this directory for license management.

License consistency in an IRF fabric

License consistency and the concurrent online APs upper limit for the unified wired and wireless AC feature

You can install the unified wired and wireless AC license on any member device in the IRF fabric, and the license versions on the member devices can be different.

The maximum number of concurrent online APs in the whole IRF fabric cannot exceed the following limits:

·     The sum of AP count defined by licenses on all member devices.

·     The upper limit on the AP count supported by the master device.

License consistency for other features

For licensed features to function correctly in an IRF fabric, make sure all IRF member devices are installed with the same licenses.

License registration and installation flowchart

Figure 1 License registration and installation flowchart

License management tasks at a glance

To manage licenses, perform the following tasks:

1.     Identifying the license storage

2.     (Optional.) Compressing the license storage

3.     Obtaining required information for license registrationObtaining required information for license registration

4.     Registering a license

5.     Installing a license

6.     Managing installed licenses

¡     Uninstalling a license

¡     Transferring a license

¡     Recovering an activation file

¡     Recovering a license on the same device

 

Identifying the license storage

To identify the license storage, execute the following command in any view:

display license feature

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

About this task

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

Restrictions and guidelines

The compression operation clears expired licenses and uninstalled licenses.

If uninstalled licenses or expired licenses exist on the device, the compression operation will make the DID change. Before performing a compression, make sure all licenses registered with the old DID have been installed. You will be unable to install such licenses after the compression.

Procedure

1.     Back up the Uninstall keys of uninstalled licenses.

When you uninstall an unexpired formal license, an Uninstall key is created. The Uninstall key is required for transferring the license.

2.     Make sure all licenses generated based on the old DID have been installed.

3.     Enter system view.

system-view

4.     Compress the license storage.

In standalone mode:

license compress

In IRF mode:

license compress chassis chassis-number

Obtaining required information for license registration

1.     Identify whether the required features need to be licensed on the device.

Execute the following command in any view:

display license feature

2.     Execute the following command in any view to display the current license status.

In standalone mode:

display license [ activation-file ]

In IRF mode:

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

3.     Obtain the license key by purchasing a license.

The authorization serial number in the Software License Certificate is the license key.

4.     Execute the following command in any view to obtain the SN and DID information.

In standalone mode:

display license device-id

In IRF mode:

display license device-id chassis chassis-number

5.     If the DID is contained in a .did file, use FTP or TFTP to upload the file to the Web client, such as PC.

If FTP is used to transfer the .did file, use the Binary mode.

If the DID is a string, skip this step.

6.     Back up the license key in case of loss.

Registering a license

About registering a license

License registration has the following procedures:

·     Registering licenses for the first time—Register a license for a device that has not previously been registered.

·     Registering upgrade licenses—Register licenses for capacity expansion, feature enhancement, or a time extension. This procedure is also applicable to the scenario that you register a new license for a device that has expired or uninstalled licenses.

If you do not know which registration procedure should be used, select registering licenses for the first time. If the selection is not correct, the website will display messages for the correct registration choice after you enter the required information.

Restrictions and guidelines

If you cannot download the activation file due to problems such as operating system and browser errors, try to re-register the license. If the problem persists, contact H3C Support.

Registering licenses for the first time

1.     Visit the H3C website at http://www.h3c.com/en/License/.

2.     Select Register the First Time.

3.     Enter the authorization serial number in the Input the license key field and click Submit.

A dialog box opens, displaying product categories matching the license key.

4.     In the dialog box, select a product category from the Product category dropdown list and click OK.

5.     Enter the device S/N.

6.     Enter the DID or upload the DID file.

7.     Enter the required contact information and verify code, select I accept all terms of H3C Legal Statement, and click Get activation key or file.

8.     Download the activation file to the PC.

A copy of the activation file will also be sent to the email address that you enter in the contact information.

Registering upgrade licenses

1.     Visit the H3C website at http://www.h3c.com/en/License/.

2.     Select Register Upgrade Licenses.

3.     Enter the authorization serial number in the Input the license key field and click Submit.

A dialog box opens, displaying product categories matching the license key.

4.     In the dialog box, select a product category from the Product category dropdown list and click OK.

5.     Enter the device S/N.

6.     Enter the DID or upload the DID file and click Submit.

7.     Enter the required contact information and verify code, select I accept all terms of H3C Legal Statement, and click Get activation key or file.

8.     Download the activation file to the PC.

A copy of the activation file will also be sent to the email address that you enter in the contact information.

Installing a license

Restrictions and guidelines

When installing a license, the system automatically searches the storage media for a matching feature package. When a match is found, it stops searching and installs the package.

Installing an activation file

1.     Enter system view.

system-view

2.     Install an activation file.

In standalone mode:

license activation-file install file-name

In IRF mode:

license activation-file install file-name chassis chassis-number

Uninstalling a license

About license uninstallation

Perform this task to uninstall an unexpired formal license when the license remains unused for a while or needs to be transferred to another device.

After uninstallation, Uninstall keys are generated, which will be used for license transfer.

Restrictions and guidelines for license uninstallation

Back up the Uninstall key of a license properly for the license's next use.

Trial licenses cannot be transferred. Uninstall a trial license does not create any uninstallation information.

Expired licenses cannot be uninstalled.

Once the activation file is uninstalled, you cannot install it on the device again. To recover the license on the device, perform the following steps:

1.     Contact the customer service to unbind the license from the device.

2.     Use the license key to apply for a new activation file for the device.

3.     Install the new activation file on the device.

Uninstalling an activation file

1.     Enter system view.

system-view

2.     Uninstall an activation file.

In standalone mode:

license activation-file uninstall file-name

In IRF mode:

license activation-file uninstall file-name chassis chassis-number

Only unexpired activation files can be uninstalled.

Transferring a license

About this task

You can transfer a license from one device to another if the license has not expired.

Procedure

1.     Log in to the source device, and uninstall the license to obtain the uninstallation information. For more information, see "Uninstalling a license."

2.     Obtain the Uninstall key of the license by using the display license command.

3.     Access the target device and obtain SN and DID information. For more information, see "Obtaining required information for license registration."

4.     Register a license for the target device. For more information, see "Registering a license."

During the license register, you must provide SN and DID information of the target device and the Uninstall key of the source device.

5.     Install the new license on the target device. For more information, see "Installing a license."

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 directory flash:/license.

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.

 

 

NOTE:

If you mistakenly delete an activation file without backing it up, contact the customer service and provide the license key and DID information to retrieve the activation file.

 

Recovering a license on the same device

Recovering a MPU-locked license on a device

If licenses are MPU locked, perform either of the following tasks to recover the license for a new MPU after the MPU replacement:

·     Apply for and install a license on the new MPU. For more information, see "Registering a license" and "Installing a license."

·     Transfer the license locked with the old MPU to the new MPU. For more information, see "Transferring a license."

Recovering a chassis-locked license on a device

About this task

If licenses are chassis locked, licenses still take effect on a new MPU after the MPU replacement.

Restrictions and guidelines

To ensure the device operation, do not install MPUs of different models on the device that supports multiple MPUs.

If you want to replace an MPU on a device that is installed with two MPUs, perform any of the following tasks:

·     Use an MPU of the same model to replace the old MPU.

·     Use the remaining MPU only to maintain the device operation.

·     If you want to use an MPU of a different model for replacement, replace two MPUs of the same model together.

Recovering a chassis-locked license for a new MPU of the same model

1.     Back up the activation file of the old MPU.

2.     Remove the MPU to be replaced.

3.     Install a new MPU.

4.     Copy the backup activation file to the flash:/license directory of the new MPU. The existing license still takes effect.

Recovering a chassis-locked license for a new MPU of a different model

If you use an MPU of a different model for replacement on the device that supports only one MPU, chassis-locked licenses might not function.

To restore a chassis-locked license for a new MPU of a different model:

1.     Contact the customer service to unbind the license from the device.

2.     Remove the old MPU and install a new MPU.

3.     Compress the license storage to delete uninstalled license information. For more information, see "Compressing the license storage."

4.     Obtain the new SN and DID information of the license by using the display license device-id command.

5.     Visit the H3C website and use the license key, SN, and DID information to apply for a new activation file:

If the new MPU registers a license for the first time, select registering licenses for the first time. Otherwise, select registering upgrade licenses.

6.     Install the new activation file on the device.

Display and maintenance commands for license management

Execute display commands in any view.

 

Task

Command

Display detailed license information.

In standalone mode:

display license [ activation-file ]

In IRF mode:

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

Display the SN and DID information.

In standalone mode:

display license device-id

In standalone mode:

display license device-id chassis chassis-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
新华三官网