01-Fundamentals Configuration Guide

HomeSupportSwitchesH3C S7500E Switch SeriesConfigure & DeployConfiguration GuidesH3C S7500E Switch Series Configuration Guides-Release752X-6W10001-Fundamentals Configuration Guide
15-License management
Title Size Download
15-License management 64.17 KB

Managing licenses

Overview

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

License-based feature packages

The following are feature packages available for the device:

·           CAMPUS—Includes the MDC feature.

·           DATACENTER—Includes the MDC and EVI features.

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

For more information about these features, see EVI 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 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. The device supports this locking method.

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 MPU you are working with.

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

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

·           After a license is activated, it takes 5 minutes for fiber ports that are bound to an IRF port to function correctly.

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

License file safety

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

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

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

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

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

·           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, 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 MPU on a device. Make sure the SN and DID used for registering the feature license matches the current SN and DID of the specified MPU.

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

·           A registered license takes effect on the MPU where it is installed, and it is effective even after the MPU is placed on another device.

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.

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

 

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:

 

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

 

Registering and activating a license

Make sure you have purchased a license for the first registration or an upgrade license for add-on nodes, add-on features, or time extensions.

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.      Identity the license key on your license.

N/A

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

N/A

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

N/A

7.      Download the activation file to the flash memory of the MPU.

N/A

8.      Enter system view.

system-view

9.      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. Trial licenses are not transferrable either.

To transfer a license:

 

Step

Command

Remarks

1.      Enter system view on the source MPU.

system-view

N/A

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

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

display license

N/A

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

display license device-id

N/A

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

N/A

N/A

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

N/A

N/A

7.      Install the activation file on the target MPU.

N/A

See "Registering and activating a license."

 

Displaying and maintaining licenses

Execute display commands in any view.

 

Task

Command

(In standalone mode.) Display the SN and DID.

display license device-id slot slot-number

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

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

(In standalone mode.) Display detailed license information.

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

(In IRF mode.) Display detailed license information.

display license [ activation-file ] [ chassis chassis-number 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
新华三官网