01-Fundamentals Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guides-Release7374-6W73101-Fundamentals Configuration Guide
13-License management
Title Size Download
13-License management 124.36 KB

License-based features, such as EVI, FCoE, MDC, and SPB, 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 or between MPUs, remove a license, and manage the license storage space.

General restrictions

Follow these general restrictions when you manage licenses:

·     For the license management feature to operate correctly, do not create any files named license in the flash:/ directory or modify the attributes of the license file folder in this directory.

·     Manage licenses on the default MDC, and the licensed features will be licensed to the default MDCs automatically. Non-default MDCs do not support the license management. For information about MDCs, see Virtual Technologies Configuration Guide.

License-based feature packages

The following are feature packages available for the device:

·     CAMPUSIncludes the MDC feature.

·     DATACENTER—Includes the EVI, FCoE, SPB, and MDC features.

To use features in these packages, you typically must register and install the feature package licenses.

 

 

NOTE:

If the MPUs of the device are LST1MRPNC1, you can use the EVI, FCoE, MDC, and SPB features without installing a license.

 

For more information about these features, see EVI Configuration Guide, FCoE Configuration Guide, SPB Configuration Guide, and Virtual Technologies Configuration Guide.

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.

Locking methods

The following locking methods are available:

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

To determine the locking method of your device, execute the display license ? command. If the device is in IRF mode, execute the display license chassis chassis-number ? command.

·     If the slot keyword is available, the device supports MPU-locked licenses.

·     If the slot keyword is not available, the device supports device-locked licenses.

Managing device-locked licenses

Restrictions and guidelines

When you manage device-locked licenses, follow these restrictions and guidelines:

·     Use the display license feature command to identify license-based feature packages 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. This 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.

·     Compress the license storage after uninstallation to delete the uninstalled license data. If you do not delete the uninstalled license data, you must use a different activation file name when you activate a new license on the device.

·     To run a license-based feature on a device in standalone mode, install the registered license. The device will copy the activation file to other MPUs on the device during installation.

·     For a license-based feature package to run correctly on an IRF fabric:

¡     Install one license for the feature package on each member in the fabric.

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

Registering and activating a license

For a successful license activation file installation, verify that the following requirements are met:

·     The SN and DID used for registration match the current SN and DID of the specified device.

·     No one else is installing an activation file on the device you are working with.

·     Use the display power-supply command to verify that the power monitor module and the power supplies are operating correctly.

·     To avoid file corruption, do not open or edit the activation file.

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.

See "Compressing the license storage."

3.     Obtain the SN and DID of the device.

display license device-id

4.     Identify the license key on your license.

N/A

5.     Use the license key, SN, and DID to register the license at http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/.

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

6.     Use the Binary code to download the activation file to the flash memory or the CF card on the MPU of the device.

N/A

7.     Enter system view.

system-view

8.     Install the activation file.

·     In standalone mode:
license activation-file install [ file-name ]

·     In IRF mode:
license activation-file install [ file-name ] chassis chassis-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.

Transferring a license typically includes the following tasks:

1.     Uninstall its activation file on the source device.

2.     Register the license with H3C for the target device.

3.     Activate the license on the target device.

When an activation file is uninstalled, the system creates an Uninstall file. You must provide this file when you register the license for the target device.

For a successful uninstallation, make sure no one else is uninstalling an activation file on the device you are working with.

To transfer a license:

 

Step

Command

1.     Enter system view on the source device.

system-view

2.     Uninstall the activation file.

·     In standalone mode:
license activation-file uninstall [ file-name ]

·     In IRF mode:
license activation-file uninstall [ file-name ] chassis chassis-number

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

display license device-id

4.     Use the Uninstall file and target device's SN and DID to register the license at http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/.

N/A

5.     Download the new activation file to the flash memory or the CF card on an MPU of the target device.

N/A

6.     Install the activation file on the target device.

See "Registering and activating a license."

 

 

NOTE:

The uninstall 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").

 

Compressing the license storage

CAUTION

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, uninstalled licenses, and Uninstall files. Back up the Uninstall files before you compress the license storage.

For a successful compression, make sure no one else is compressing the license storage on the device you are working with.

To compress the license storage:

 

Step

Command

1.     Enter system view.

system-view

2.     Compress the license storage.

·     In standalone mode:
license compress slot slot-number

·     In IRF mode:
license compress chassis chassis-number slot slot-number

 

Recovering licenses after replacement of both MPUs on the device

If you replace both MPUs on the device because they have failed at the same time, you must recover the activation files to the new MPU's flash:/license directory.

To recover an activation file:

1.     Use the SN of the device to download the activation file from the H3C license center at http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/.

2.     Use the display license command to verify that the downloaded file has the same name as the original activation file name on the device.

3.     If the file names are different, change the name of the downloaded file to be the same as the original activation file name on the device. If the file names are the same, skip this step.

4.     Copy the downloaded activation file to the flash:/license directory on each new MPU.

Displaying and maintaining licenses

Execute display commands in any view.

 

Task

Command

Display the SN and DID of the device (in standalone mode).

display license device-id

Display the SN and DID of an IRF member device (in IRF mode).

display license device-id chassis chassis-number

Display detailed license information (in standalone mode).

display license [ activation-file | activation-key | license-key ]

Display detailed license information (in IRF mode).

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

Display brief feature license information.

display license feature

 

Managing MPU-locked licenses

Restrictions and guidelines

When you manage MPU-locked licenses, follow these guidelines:

·     Use the display license feature command to identify license-based feature packages and their licensing information.

·     License registration requires a license key, hardware SN, and DID. This information is MPU specific. If the registration is successful, the licensing system returns an activation file. This activation file is locked to the MPU with the specific DID, and it cannot be used on any other MPUs. If the device has two MPUs, you must have one license for each MPU and register the licenses separately.

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

·     Compress the license storage after uninstallation to delete the uninstalled license data. If you do not delete the uninstalled license data, you must use a different activation file name when you activate a new license on the MPU.

·     For a license-based feature package to run correctly, you must install one license on each MPU and make sure the licenses are the same. This requirement is true of an IRF fabric and a device in standalone mode.

Registering and activating a license

For a successful license activation file installation, verify that the following requirements are met:

·     The SN and DID used for registration match the current SN and DID of the specified MPU.

·     No one else is installing an activation file on the MPU you are working with.

·     Use the display power-supply command to verify that the power monitor module and the power supplies are operating correctly.

·     To avoid file corruption, do not open or edit the activation file.

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.

See "Compressing the license storage."

3.     Obtain the SN and DID of the MPU.

display license device-id

4.     Identify the license key on your license.

N/A

5.     Use the license key, SN, and DID to register the license at http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/.

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

6.     Use the Binary code to download the activation file to the flash memory or the CF card on the MPU.

N/A

7.     Enter system view.

system-view

8.     Install the activation file.

·     In standalone mode:
license activation-file install [ file-name ] slot slot-number

·     In IRF mode:
license activation-file install [ file-name ] chassis chassis-number slot slot-number

 

Transferring a license

You can transfer a license from one MPU to another if its activation file has not expired. If the activation file has expired, the license is not transferrable.

Transferring a license typically includes the following tasks:

1.     Uninstall its activation file on the source MPU.

2.     Register the license with H3C for the target MPU.

3.     Activate the license on the target MPU.

When an activation file is uninstalled, the system creates an Uninstall file. You must provide this file when you register the license for the target MPU.

For a successful uninstallation, make sure no one else is uninstalling an activation file on the MPU you are working with.

To transfer a license:

 

Step

Command

1.     Enter system view on the source MPU.

system-view

2.     Uninstall the activation file.

·     In standalone mode:
license activation-file uninstall [ file-name ] slot slot-number

·     In IRF mode:
license activation-file uninstall [ file-name ] chassis chassis-number slot slot-number

3.     Access the target MPU and display SN and DID information.

display license device-id

4.     Use the Uninstall file and target MPU's SN and DID to register the license at http://www.h3c.com/portal/Technical_Support___Documents/Product_Licensing/.

N/A

5.     Download the new activation file to the flash memory or the CF card on the target MPU.

N/A

6.     Install the activation file on the target MPU.

See "Registering and activating a license."

 

 

NOTE:

The uninstall 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").

 

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, uninstalled licenses, and Uninstall files. Save the Uninstall files before you compress the license storage.

For a successful compression, make sure no one else is compressing the license storage on the MPU you are working with.

To compress the license storage:

 

Step

Command

1.     Enter system view.

system-view

2.     Compress the license storage.

·     In standalone mode:
license compress slot slot-number

·     In IRF mode:
license compress chassis chassis-number slot slot-number

 

Displaying and maintaining licenses

Execute display commands in any view.

 

Task

Command

Display the SN and DID of an MPU (in standalone mode).

display license device-id slot slot-number

Display the SN and DID of an MPU (in IRF mode).

display license device-id chassis chassis-number slot slot-number

Display detailed license information (in standalone mode).

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

Display detailed license information (in IRF mode).

display license [ activation-file | activation-key | license-key ] [ chassis chassis-number slot slot-number ]

Display brief feature license information.

display license feature

 

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