01-Fundamentals Configuration Guide

HomeSupportSwitchesS6800 SeriesConfigure & DeployConfiguration GuidesH3C S6800 Switch Series Configuration Guide-Release 26xx-6W10701-Fundamentals Configuration Guide
13-License management
Title Size Download
13-License management 70.48 KB

Managing licenses

License-based features require a license to run on your device.

This chapter describes how to license a feature, transfer a license between devices, remove a license, and manage the license storage space.

Licenses include trial licenses and formal licenses. Trial licenses typically have time limits. Purchase and install a formal license for a license-based feature before its trial license expires, so that the feature is still usable.

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.

Locking methods

The following locking methods are available:

·     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.

·     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

General restrictions and guidelines

When you manage licenses, follow the general restrictions and guidelines:

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

·     Trial licenses and expired formal licenses cannot be uninstalled. Expired licenses remain in the license storage area unless you compress the license storage area.

·     Licenses cannot be installed if the license storage area is not sufficient. Before registering licenses, use the display license feature command to identify the number of available licenses. Do not register licenses more than the available number.

·     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.

License file safety

When you manage licenses, follow these restrictions and guidelines for license file safety:

·     Save and back up the obtained activation file or license key in case of loss.

·     If you use FTP to transfer the .did file and the activation file, use the Binary mode.

·     Do not open and edit the .did file or activation file to avoid file corruption.

·     Do not modify the name of the .did file or activation file to avoid licensing error.

·     Do not delete or move files in the flash:/license directory on a device. 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, use the copy command to copy its backup file to the directory to recover the license. If the state of the recovered license is In use but not all licensed features can function, reboot the device. To verify the license state, use the display license command.

Licenses for different device types

When you register and install licenses, follow these restrictions and guidelines:

·     Install one license for the feature on each member in the fabric. Make sure the SN and DID used for registering the feature license matches the current SN and DID of the specified member device.

·     Make sure the licenses installed on the members are the same.

·     A registered license takes effect on the member device where it is installed, and it is effective even after the member device joins another IRF fabric.

Compressing the license storage

CAUTION

CAUTION:

·     Compressing the license storage deletes expired licenses, uninstalled licenses, and Uninstall files. Back up the Uninstall files before you compress the license storage.

·     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 activation files generated based on the old DID have been installed. You will be unable to install such licenses after the compression.

 

When the value for the Total field equals that of the Usage field from the output of the display license feature command, the license storage area is full. To ensure sufficient storage space for installing new licenses, compress the license storage area.

To compress the license storage:

1.     Enter system view.

system-view

2.     Compress the license storage.

license compress slot slot-number

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.

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.     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.     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

Prerequisites

Before installaing a license, download the license's activation file to the device.

Procedure

1.     Enter system view.

system-view

2.     Install the activation file.

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

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:

 

1.     Enter system view on the source device.

system-view

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 file. This file is required when you register the license for the target device.

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.     Obtain the Uninstall key of the source device.

display license

4.     Access the target device and display SN and DID information.

display license device-id

5.     Access http://www.h3c.com/en/License/, and use the target device's SN and DID information and the source device's Uninstall key to generate a new activation file.

6.     Download the new activation file to the target device.

7.     Install the activation file on the target device.

For more information, see "Installing a license."

Displaying and maintaining licenses

Execute display commands in any view.

 

Task

Command

Display the SN and DID.

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

 

  • 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
新华三官网