This publication contains information related to licensing types, options, procedures, installation, and management for the Cisco NX-OS software.
Note
Cisco Data Center Network Manager (DCNM) is a graphical user interface that you can use to manage your data center infrastructure. See the Cisco DCNM Installation and Licensing Guide for details about installing and licensing Cisco DCNM.
Feature-based licenses make features available to the entire physical device, so you only need one copy of the license for a device. Each license only supports the listed features. Licenses may be specific to a particular hardware platform.
Any feature not included in a license package is bundled with the Cisco NX-OS software and is provided at no extra charge to you.
The licenses are independent of each other. If you want to use features that are covered by different licenses, you must install all appropriate licenses.
This table lists the feature-based license packages for the Cisco Nexus 7000 Series.
Table 1 Feature-Based Licenses for the
Cisco Nexus 7000 Series
Feature License
Product ID
Features
Enterprise Services Package
LAN_ENTERPRISE_SERVICES_PKG
N7K-LAN1K9
Open Shortest Path First (OSPF) Protocol
Border Gateway Protocol (BGP)
Intermediate System-to-Intermediate System (IS-IS) Protocol (Layer 3 only)
Protocol Independent Multicast (PIM) which includes sparse mode, bidirectional mode, and source-specific mode (SSM)
1 Although this feature can be enabled and configured in the CLI without this license, it will not function until the license is installed.
2 Although this feature can be enabled and configured in the CLI without this license, it will not function until the license is installed.
This table lists the feature-based license packages for the Cisco Nexus 5000 Series switches.
Note
The prefix of the Product ID number indicates the platform for which the license applies. For example, N5548 indicates that the license is for the Cisco Nexus 5548 switch only, and N5K indicates that the license is for all Cisco Nexus 5000 Series switches.
Table 3 Feature-Based Licenses for the
Cisco Nexus 5000 Series
3 Although this feature can be enabled and configured in the CLI without this license, it will not function until the license is installed.
4 Although this feature can be enabled and configured in the CLI without this license, it will not function until the license is installed.
This table lists the feature-based license packages for the Cisco Nexus 4000 Series.
Table 4 Feature-Based Licenses for the
Cisco Nexus 4000 Series
Feature License
Product ID
Features
Basic Storage Services Package
BASIC_STORAGE_SERVICES_PKG
N4K-4005I-SSK9
FIP snooping feature
This table lists the feature-based license packages for the Cisco Nexus 3000 Series.
Table 5 Feature-Based Licenses for the Cisco Nexus 3500 Series
Feature License
Product ID
Features
Layer 3 Base Services Package
LAN_BASE_SERVICES_PKG
N3548-BAS1K9
Static routing
RIPv2
EIGRP stub
OSPFv2 (limited routes)
PIMv2 (sparse mode)
Layer 3 Enterprise Services Package
LAN_ENTERPRISE_SERVICES_PKG
N3548-LAN1K9
OSPF (unlimited routes)
BGP and VRF-lite (IP-VPN)
Note
Requires Base Services Package.
Cisco Nexus 3500 Algo Boost License
ALGO_BOOST_SERVICES_PKG
N3548-ALGK9
Warp Mode
Warp SPAN
Static NAT
This table lists the feature-based license packages for the Cisco Nexus 3000 Series.
Table 6 Feature-Based Licenses for the Cisco Nexus 3000 Series
Feature License
Product ID
Features
Layer 3 Base Services Package
LAN_BASE_SERVICES_PKG
N3K-BAS1K9
Static routing
RIPv2
EIGRP stub
OSPFv2 (limited routes)
PIMv2 (sparse mode)
Layer 3 Enterprise Services Package
LAN_ENTERPRISE_SERVICES_PKG
N3K-LAN1K9
OSPF (unlimited routes)
BGP and VRF-lite (IP-VPN)
Note
Requires Base Services Package.
Module-based Licenses
Module-based licenses make features available to one module on the physical device, so you need one copy of the license for each module that you want to enable the features on. Each license only supports the listed features. Licenses may be specific to a particular hardware platform or module.
Note
Any feature not included in a license package is bundled with the Cisco NX-OS software and is provided at no extra charge to you.
This table lists the module license packages for the Cisco Nexus 7000 Series.
Table 7 Module-Based Licenses for the
Cisco Nexus 7000 Series
Module License
Product ID
Features
FCoE Services Package
(FCOE_PKG)
N7K-FCOEF132XP=
Fibre Channel over Ethernet (FCoE)
Note
You do not need the Advanced Services Package to enable the storage VDC required for FCoE.
FCoE F2-Series
(FCoE_F2)
N7K-FCOEF248XP
Fibre Channel over Ethernet (FCoE) for Cisco Nexus 7000 48-port 10G SFP+ (F2)
Note
The licenses are independent of each other. If you want to use features that are covered by different licenses, you must install all appropriate licenses. For example, if you want to use EIGRP and VDCs on the Cisco Nexus 7000 Series, you must install both the Enterprise Services Package license and the Advanced Services Package license.
Permission to use a particular feature through a license file, a
hardware object, or a legal contract. This permission is limited to the number
of users, number of instances, time span, and the implemented device.
Licensed application
A software feature that requires a license to be used.
License enforcement
A mechanism that prevents a feature from being used without first
obtaining a license.
Node-locked license
A license that can only be used on a particular device using the
device’s unique host ID.
Host IDs
A unique chassis serial number that is specific to each device.
Software license claim certificate
A document entitling its rightful owner to use licensed features
on one device as described in that document.
Product Authorization Key (PAK)
The PAK allows you to obtain a license key from one of the sites
listed in the software license claim certificate document. After registering at
the specified website, you will receive your license key file and installation
instructions through e-mail.
License key file
A device-specific unique file that specifies the licensed
features. Each file contains digital signatures to prevent tampering and
modification. License keys are required to use a licensed feature. License keys
are enforced within a specified time span.
Missing license
If the bootflash has been corrupted or a supervisor module
replaced after you have installed a license, that license shows as missing. The
feature still works. You should reinstall the license as soon as possible.
Evaluation license
A temporary license. Evaluation licenses are time bound (valid
for a specified number of days) and are tied to a host ID (device serial
number).
Permanent license
A license that is not time bound is called a permanent license.
Grace period
The amount of time the features in a license package can continue
functioning without a license.
On the Cisco Nexus 7000 Series, you install and manage licenses on the physical device in the default virtual device context (VDC) (VDC 1). Licenses apply to features in all VDCs and Virtual Routing and Forwarding instances (VRFs) on the physical device. You do not need to obtain a separate license for each VDC or VRF. For more information on VDCs, see the Cisco Nexus 7000 Series NX-OS Virtual Device Context Configuration Guide.
Licensing High Availability
As with other Cisco NX-OS features, the licensing feature also
maintains the following high-availability standards:
Installing any license in the device is a nondisruptive process.
Installing a license automatically saves a copy of permanent
licenses to the chassis.
If you have enabled the grace period feature, enabling a licensed
feature that does not have a license key starts a counter on the grace period.
You then have 120 days to install the appropriate license keys, disable the use
of that feature, or disable the grace period feature. If at the end of the
120-day grace period the device does not have a valid license key for the
feature, the Cisco NX-OS software automatically disables the feature and
removes the configuration from the device.
Note
Some licenses, for example, Cisco TrustSec for the Cisco Nexus 7000 Series or Layer 3 Enterprise
Services for the Cisco Nexus 5000 Series, do not have a grace period.
Devices with dual supervisors have the following additional
high-availability features:
The license software runs on both supervisor modules and provides
failover protection.
The license key file is mirrored on both supervisor modules. Even
if both supervisor modules fail, the license file continues to function from
the version that is available on the chassis.
License Installation
You can either obtain a factory-installed license (only applies to new
device orders) or perform a manual license installation of the license (applies
to existing devices in your network).
Your device is shipped with the required licenses installed in the
system.
Step 2
Start using the device and the licensed features.
Performing a Manual Installation
If you have existing devices or if you wish to install the licenses on your own, you must first obtain the license key file and then install that file in the device.
Note
All licenses for the Cisco Nexus 5000 Series and the Cisco Nexus 4000 Series are factory-installed. Manual installation is not required.
Figure 1. Obtaining a License Key File. This figure shows how to obtain a license key file.
Obtaining the License Key File
You can obtain new or updated license key files.
Procedure
Command or Action
Purpose
Step 1
Obtain the serial
number for your device by entering the
show license host-id command. The host ID is also referred to as the device serial
number.
switch# show license host-id
License hostid: VDH=FOX064317SQ
Tip
Use the entire ID that appears after the equal sign (=). In this
example, the host ID is FOX064317SQ.
Follow the instructions on the Product License Registration
website to register the license for your device.
The license key file is sent to you by e-mail and is digitally
signed to only authorize use on the requested device. The requested features
are also enabled once the Cisco NX-OS software on the specified device accesses
the license key file.
Caution
Do not make any modifications to the license key file.
It will alter the digital
signature and render the license invalid.
A license is permanent. If you do not have a license, the grace
period for using a feature starts from the first time you start using a feature
offered by a license.
Note
Cisco TrustSec for the Cisco Nexus 7000 Series and Layer 3 Enterprise for the Cisco Nexus 5000 Series do not have a grace period. You must obtain an
Advanced Services license to use Cisco TrustSec.
Step 6
For the Cisco Nexus 7000 Series, use the copy licenses command from the default VDC to save your license file to one of four locations—the bootflash: directory, the slot0: device, the usb1: device, or the usb2: device. For all other platforms, use the copy licenses command to save your license file to one of two locations—the bootflash: directory or the volatile: directory.
Note
Only users with the network-admin role can copy licenses on Cisco NX-OS devices. For information on user accounts and roles, see the Security Configuration Guide for your platform.
You can install the license to enable features on your device.
Tip
If you need to install multiple licenses in any device,
be sure to provide unique filenames for each license key file.
Note
If you have a single supervisor module on your Cisco NX-OS device
and you replace the supervisor module, you must reinstall the license key file.
If you are currently running with a grace period license, to avoid service disruptions when you install your permanent license, do not disable the grace period by using the no license
grace-period command. Instead, just install your new license. The license
manager will automatically transition from grace licensing to
the installed license.
Procedure
Step 1
Log into the device through the console port of the active
supervisor.
Step 2
Perform the installation by using the
install license command on the active supervisor
module from the device console.
If you provide a target name for the license key file, the file
is installed with the specified name. Otherwise, the filename specified in the
license key file is used to install the license.
Step 3
(Optional)Back up the license key file.
Step 4
Exit the device console and open a new terminal session to view
all license files installed on the device using the
show license command.
Note
If the license meets all guidelines when the
install license command is used, all features
and modules continue functioning as configured.
You can use the
show license brief command to display a list of
license files installed on the device.
You can use the
show license file command to display information
about a specific license file installed on the device.
If the configuration or bootflash memory on your device becomes
corrupted, you might need to reinstall your license. You can do a reinstallation from a
backed up copy of the license key file. If you do not have a license key file,
you can create a copy of the license key file from your installed license.
Note
If you have a single supervisor module on your Cisco NX-OS device
and you replace the supervisor module, you must reinstall the license key file. You cannot reinstall the license key file from the backed-up copy.
Caution
If you erase any existing licenses installed on your device, you can
only reinstall them by using the
install license command using the license key
file.
You can uncompress the .tar file on the remote UNIX-based server to
create one or more backup license key files, depending on how many licenses you
have installed. You can also extract the license files on your Cisco NX-OS
device by using the
tar extract command.
This example shows how to extract license files from a .tar file:
switch# tar extract bootflash:Enterprise.tar
Identifying License Features in Use
When you enable a Cisco NX-OS software feature, it can activate a license grace period.
Use the
show license usage command to identify all of the
active features.
Uninstalling Licenses
You can only uninstall a permanent license that is not in use. If you
try to delete a permanent license that is currently being used, the software
rejects the request and issues an error message. Uninstalling an unused license
causes the grace period to come into effect. The grace period is counted from
the first use of the feature without a license and is reset when a valid
license file is installed.
Note
Permanent licenses cannot be uninstalled if they are currently being
used. Features turned on by permanent licenses must first be disabled, before
that license is uninstalled.
Tip
If you are using an evaluation license and would like to install a
new permanent license, you can do so without service disruption and before the
evaluation license expires. Removing an evaluation license immediately triggers
a grace period without service disruption.
Caution
You must disable the features that are related to the feature before
uninstalling a license. The delete procedure fails if the license is in use.
Procedure
Step 1
Save your running configuration to a remote server by using the
copy command.
Display a list of all
installed license key files and identify the file to be uninstalled by using the
show license brief command. In this
example, the file to be uninstalled is the Enterprise.lic file.
Step 3
Disable the features provided by the license to be uninstalled.
Use the
show license usagepackage_name command to view the enabled features for a specified package.
Step 4
Uninstall the Enterprise.lic file by using the
clear licensefilename command, where
filename is the name of the installed license key
file.
switch# clear license Enterprise.lic
Clearing license Enterprise.lic:
SERVER this_host ANY
VENDOR cisco
Step 5
Continue uninstalling the license by entering
y for yes.
Do you want to continue? (y/n) y
Clearing license ..done
The Enterprise.lic license key file is now uninstalled.
Updating Licenses
If your license is time bound, you must obtain and install an updated
license. Contact technical support to request an updated license.
Save your running configuration to a remote server by using the
copy command.
Step 3
Verify the name of
the file to be updated by using the
show license brief command.
switch# show license brief
Enterprise.lic
Step 4
Update the license file by using the
update licenseurl
command, where
url specifies the bootflash:, slot0:, usb1:, or usb2: location
of the updated license file.
The grace period feature allows you to use licensed features that do
not have a license key. By default, the license period feature is disabled.
While the grace period feature is disabled, users cannot accidentally enable
licensed features.
The Cisco NX-OS software 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 that you are
evaluating, but if you enable that feature again without a valid license, the
grace period countdown continues where it left off.
Note
When you install the permanent license, to avoid service disruptions, do not disable the grace period by using the no license
grace-period command. Instead, just install your new license. The license
manager will automatically transition from grace licensing to
the installed license.
Once the license manager is using your installed license, the grace period alerts will cease.
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
device. 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. The frequency of these messages become hourly during the
last seven days of the grace period.
In addition to the grace period alerts, Cisco NX-OS will display a banner at login in the last 15 days of the grace period:
NOTICE: NX-OS LICENSED FEATURES NEED ATTENTION
-----------------------------------------------------------------------------
Feature Ins Lic Status Expiry Date Comments
Count
-----------------------------------------------------------------------------
LAN_ENTERPRISE_SERVICES_PKG No - In use Grace 14D 6H
-----------------------------------------------------------------------------
**** WARNING: License(s) about to expire. When license(s) expire,
all licensed conditional features will be disabled ****
During the last seven days of the grace period, the banner will include a prompt which you must dismiss before you can complete login:
NOTICE: NX-OS LICENSED FEATURES NEED ATTENTION
-----------------------------------------------------------------------------
Feature Ins Lic Status Expiry Date Comments
Count
-----------------------------------------------------------------------------
LAN_ENTERPRISE_SERVICES_PKG No - In use Grace 3D 23H
-----------------------------------------------------------------------------
**** WARNING: License(s) about to expire. When license(s) expire,
all licensed conditional features will be disabled ****
CISCO TAC must be contacted asap for required licenses to prevent imminent downtime/service disruption.
Please press Enter to confirm you understand this risk and wish to continue: [ENTER]
For example, if you enabled a licensed
feature on January 30, you will receive grace period ending messages as
follows:
Daily alerts from January 30 to May 21.
Starting from May 15, Cisco NX-OS would display the banner at login.
Hourly alerts from May 22 to May 30.
The login banner would require you to dismiss its prompt before you can complete login.
On May 31, the grace period ends, and the licensed feature is
automatically disabled. You will not be allowed to use the licensed feature
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 to Cisco NX-OS will
enforce license requirements and the 120-day grace period.
Use the
show license usage command to display grace period
information for a device.
Enabling the License Grace Period
Enable the grace period feature by using the license grace-period command:
You might have to enable a licensed feature to configure it. To enable a licensed feature, use the featurefeature-name command in global configuration mode. For example, you can enable the BGP feature as follows:
To disable the grace period, you must disable all features that use the license grace period. Otherwise, the Cisco NX-OS
software rejects the request and issues an error message.
Note
To avoid service disruptions, you should not disable the grace period before you install a permanent license.
Procedure
Step 1
Display the licenses using the
grace period by using the
show license usage command.
.
switch# show license usage
Feature Ins Lic Status Expiry Date Comments
Count
--------------------------------------------------------------------------------
LAN_ADVANCED_SERVICES_PKG Yes - In use Never -
LAN_ENTERPRISE_SERVICES_PKG No - In use Grace 119D 22H
--------------------------------------------------------------------------------
Step 2
Disable the features provided by the license using the grace
period. Display the enabled features for a specified package by using the
show license usagepackage_name command. .
Step 3
Disable the grace period.
switch# configure terminal
switch(config)# no license grace-period
Associating a License with a Module
You must associate a module-based license with a module to enable the licensed features on that module.
Before You Begin
Ensure you have installed the correct license.
Ensure you are in the correct VDC.
Ensure you have met all required prerequisites for the feature. See the appropriate feature documentation for details.
Procedure
Command or Action
Purpose
Step 1
licensefcoemodulemodule-number
Example:
switch(config)# license fcoe module 2
Associates the module-based license with the module.
License Transfers Between Devices
A license is specific to the physical device for which it is issued and is not valid on any other physical device. If you need to transfer a license from one physical device to another, contact your customer service representative.
Note
If you have a single supervisor module on your Cisco NX-OS device and you replace the supervisor module, you must reinstall the license key file.
If you are evaluating a license when you replace the supervisor module, the grace period of the license is usually set to 120 days. On a dual supervisor system, the grace period of the license will be overwritten from the existing active supervisor module to the new stand-by supervisor module.