01-Fundamentals Configuration Guide

HomeSupportSwitchesS12500X-AF SeriesConfigure & DeployConfiguration GuidesH3C S12500X-AF Switch Series Configuration Guides(R320x)-6W10001-Fundamentals Configuration Guide
14-License management
Title Size Download
14-License management 70.51 KB

Managing licenses

About licenses

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

License types

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

Licenses for different device types

(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

License operations

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

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

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

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 register

4.     Registering a license

5.     Installing a license

6.     Managing installed licenses

?     Uninstalling a license

?     Transferring a license

?     Recovering an activation file

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 license storage compression

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

Restrictions and guidelines

This command clears expired licenses and uninstalled licenses. The DID changes each time the license storage is compressed. Licenses generated based on the old DID cannot be installed 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 register

1.     (Optional.) Identify features to be licensed by using the display license feature command.

2.     Obtain the following information:

?     License key, which is obtained by purchasing the license.

?     SN and DID information, which can be obtained by using the display license device-id command.

3.     Back up the license key, SN, and DID information in case of loss.

Registering a license

Restrictions and guidelines

If you cannot obtain or re-register the activation file due to problems such as operating system and browser errors, contact H3C Support.

Procedure

1.     Access http://www.h3c.com.hk/Technical_Support___Documents/Product_Licensing/, and select Register the First Time or Register Upgrade Licenses from the navigation tree.

Upgrade licenses are used for add-on nodes, add-on features, or time extensions.

2.     Select the product category and use the license key, SN, and DID to register the license.

3.     Obtain the activation file or activation key and download it to the PC.

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.

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 license transfer

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

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.

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