Table Of Contents
Troubleshooting Licensing
License Overview
Chassis Serial Numbers
Grace Period
Guidelines
Initial Troubleshooting Checklist
Displaying License Information Using the CLI
Licensing Installation Issues
Serial Number Issues
RMA Chassis Errors or License Transfers Between Switches
Receiving Grace Period Warnings After License Installation
Grace Period Alerts
License Listed as Missing
Troubleshooting Licensing
Licensing functionality is available in Cisco NX-OS. This functionality allows you to access specified premium features on the device after you install the appropriate license for that feature.
This chapter includes the following topics:
•
License Overview
•
Guidelines
•
Initial Troubleshooting Checklist
•
Licensing Installation Issues
License Overview
Cisco NX-OS requires licenses for enterprise and advanced features. These licenses enable those features on your switch. You must purchase a license for each switch that you want to enable the licensed features on.
Note
You can enable a feature without installing the license. Cisco NX-OS provides a grace period that allows you to try out the feature before purchasing the license.
Chassis Serial Numbers
Licenses are created using the serial number of the chassis where the license file is to be installed. Once you order a license based on a chassis serial number, you cannot use this license on any other switch. If you use a license meant for another chassis, you may see the following system message:
Error Message LICMGR-3-LOG_LIC_INVALID_HOSTID: Invalid license hostid VDH=[chars]
for feature [chars].
Explanation The feature has a license with an invalid license Host ID. This can happen if a
supervisor module with licensed features for one switch is installed on another switch.
Recommended Action Reinstall the correct license for the chassis where the supervisor module is
installed.
Grace Period
If you use a feature that requires a license but have not installed a license for that feature, you are given a 120 day grace period to evaluate the feature. You must purchase and install the number of licenses required for that feature before the grace period ends or Cisco NX-OSS will disable the feature at the end of the grace period. If you try to use an unlicensed feature, you may see the following system messages:
Error Message LICMGR-2-LOG_LIC_GRACE_EXPIRED: Grace period expired for feature
[chars].
Explanation The unlicensed feature has exceeded its grace time period. Applications using this
license will be shut down immediately.
Recommended Action Please install the license file to continue using the feature.
Error Message LICMGR-3-LOG_LICAPP_NO_LIC: Application [chars] running without
[chars] license, shutdown in [dec] days.
Explanation The Application [chars1] has not been licensed. The application will work for a grace
period of [dec] days after which it will be shut down unless a license file for the feature is installed.
Recommended Action Install the license to continue using the feature.
Error Message LICMGR-3-LOG_LIC_LICENSE_EXPIRED: Evaluation license expired for
feature [chars].
Explanation The feature has exceeded its evaluation time period. The feature will be shut down
after a grace period.
Recommended Action Install the license to continue using the feature.
Error Message LICMGR-3-LOG_LIC_NO_LIC: No license(s) present for feature [chars].
Application(s) shutdown in [dec] days.
Explanation The feature has not been licensed. The feature will work for a grace period, after which
the application(s) using the feature will be shutdown.
Recommended Action Install the license to continue using the feature.
Error Message LICMGR-6-LOG_LICAPP_EXPIRY_WARNING: Application [chars] evaluation
license [chars] expiry in [dec] days.
Explanation The application will exceed its evaluation time period in the listed number of days and
will be shut down unless a permanent license for the feature is installed.
Recommended Action Install the license file to continue using the feature.
License packages can contain several features.If you disable a feature during the grace period and there are other features in that license package that are still enabled, the clock does not stop for that license package. To suspend the grace period countdown for a licensed feature, you must disable every feature in that license package. Use the show license usage CLI command to determine which features are enabled for a license package.
Guidelines
This section provides the guidelines when dealing with licenses for Cisco NX-OS.
•
Do not ignore grace period expiration warnings. Allow 60 days before the grace period expires to allow time for ordering, shipping, and installation for a new license purchase.
•
Carefully determine the license(s) you require based on the features that require a license.
•
Order your license accurately:
–
Enter the Product Authorization Key that appears in the Proof of Purchase document that comes with your switch.
–
Enter the correct chassis serial number when ordering the license. The serial number must be for the same chassis that you plan to install the license on. Use the show license host-id CLI command.
–
Enter serial numbers accurately. The serial number contains zeros, but no letter "O".
–
Order the license specific to your chassis.
•
Backup the license file to a remote, secure place. Archiving your license files ensures that you will not lose the licenses in the case of a failure on your switch.
•
Install the correct licenses on each switch, using the licenses that were ordered using that switch's serial number. Licenses are serial-number specific and platform specific.
•
Use the show license usage CLI command to verify the license installation.
•
Never modify a license file or attempt to use it on a switch that it was not ordered for. If you RMA a chassis, contact your customer support representative to order a replacement license for the new chassis.
Initial Troubleshooting Checklist
Begin troubleshooting license issues by checking the following issues first:
Checklist
|
Checkoff
|
Verify the chassis serial number for all licenses ordered.
|
|
Verify the platform or module type for all licenses ordered.
|
|
Verify that the Product Authorization Key you used to order the licenses comes from the same chassis that you retrieved the chassis serial number on.
|
|
Verify that you have installed all licenses on all switches that require the licenses for the features you enable.
|
|
Displaying License Information Using the CLI
Use the show license commands to display all license information configured on this switch (see Example 3-1 through Example 3-3).
Example 3-1 Displays Information About Current License Usage
switch(config)# show license usage
Feature Ins Lic Status Expiry Date Comments
--------------------------------------------------------------------------------
LAN_ADVANCED_SERVICES_PKG No - In use Grace 102D 0H
LAN_ENTERPRISE_SERVICES_PKG No - In use Grace 103D 22H
------------------------------------------------------------------------------------------
Example 3-2 Displays the List of Features in a Specified Package
switch(config)# show license usage LAN_ENTERPRISE_SERVICES_PKG
Example 3-3 Displays the Host ID for the License
switch# show license host-id
License hostid: VDH=FOX0646S017
Note
Use the entire ID that appears after the colon (:) . The VHD is the Vendor Host ID.
Example 3-4 Displays All Installed License Key Files and Contents
INCREMENT LAN_ENTERPRISE_SERVICES_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>N7K-LAN1K9=</SKU> \
NOTICE="<LicFileID>20071025133322456</LicFileID><LicLineID>1</LicLineID>
Licensing Installation Issues
Common problems with licenses usually stem from incorrectly ordering the license file, installing the license file on an incorrect switch, or not ordering the correct number of licenses for your fabric.
This section includes the following topics:
•
Serial Number Issues
•
RMA Chassis Errors or License Transfers Between Switches
•
Receiving Grace Period Warnings After License Installation
•
Grace Period Alerts
•
License Listed as Missing
Serial Number Issues
A common problem with licenses stems from not using the correct chassis serial number when ordering your license.
Use the show license host-id CLI command to obtain the correct chassis serial number for your switch using the CLI.
When entering the chassis serial number during the license ordering process, do not use the letter "O" in place of any zeros in the serial number.
RMA Chassis Errors or License Transfers Between Switches
A license is specific to the switch for which it is issued and is not valid on any other switch. If you need to transfer a license from one switch to another, contact your customer service representative.
Receiving Grace Period Warnings After License Installation
If the license installation does not proceed correctly, or if you are using a feature that exists in a license package that you have not installed, you will continue to get grace period warnings.
Symptom Receiving grace period warnings after a license installation.
Table 3-1 Receiving Grace Period Warnings After License Installation
Symptom
|
Possible Cause
|
Solution
|
Receiving grace period warnings after a license installation.
|
License file copied to switch but not installed.
|
Use the license install CLI command to install the license.
|
License installation failed.
|
Check your logs for any system messages for a failed license installation. Use the show license usage CLI command to determine what feature is in use without a license.
|
Grace Period Alerts
Cisco NX-OS gives you a 120 day grace period. This grace period starts or continues when you are evaluating a feature for which you have not installed a license.
The grace period stops if you disable a feature you are evaluating, but if you enable that feature again without a valid license, the grace period countdown continues where it left off.
The grace period operates across all features in a license package. License packages can contain several features. If you disable a feature during the grace period and there are other features in that license package that are still enabled, the countdown does not stop for that license package. To suspend the grace period countdown for a license package, you must disable every feature in that license package.
The Cisco NX-OS license counter keeps track of all licenses on a switch. If you are evaluating a feature and the grace period has started, you will receive console messages, SNMP traps, system messages, and Call Home messages on a daily basis.
Beyond that, the frequency of these messages become hourly during the last seven days of the grace period. The following example uses the VDC feature. On January 30th, you enabled the VDC feature, using the 120 day grace period. You will receive grace period ending messages as:
•
Daily alerts from January 30th to May 21st.
•
Hourly alerts from May 22nd to May 30th.
On May 31st, the grace period ends, and the VDC feature is automatically disabled. You will not be allowed to use multiple VDCs until you purchase a valid license.
Note
You cannot modify the frequency of the grace period messages.
Caution 
After the final seven days of the grace period, the feature is turned off and your network traffic may be disrupted. Any future upgrade will enforce license requirements and the 120-day grace period.
Use the show license usage command to display grace period information for a switch.
switch(config)# show license usage
Feature Ins Lic Status Expiry Date Comments
--------------------------------------------------------------------------------
LAN_ADVANCED_SERVICES_PKG No - In use Grace 102D 0H
LAN_ENTERPRISE_SERVICES_PKG No - In use Grace 103D 22H
------------------------------------------------------------------------------------------
License Listed as Missing
After a license is installed and operating properly, it may show up as missing if you modify your system hardware or encounter a bootflash: issue.
Symptom License listed as missing.
Table 3-2 License Listed as Missing
Symptom
|
Possible Causes
|
Solutions
|
License listed as missing.
|
Supervisor module was replaced after license was installed.
|
Reinstall the license.
|
Supervisor bootflash: is corrupted.
|
See the "Corrupted Bootflash Recovery" section on page 2-9 to recover from corrupted bootflash:. Reinstall the license.
|