Configure Licenses Using the Smart Licensing Solution

What Is Smart Licensing

Smart Licensing is a cloud-based, flexible software licensing model that enables you to activate and manage Cisco software licenses across their organization. Smart Licensing solution allows you to easily track the status of your license and software usage trends. Cisco Smart Licensing establishes a pool of licenses or entitlements that can be used across the entire organization in a flexible and automated manner. Smart Licensing helps simplify four core functions:

  • Purchase—Creates a Smart Account (and optionally, your Virtual Account). Licenses are added to your Smart Account and are immediately available for use.

  • Install—Register your product with your Smart Account using an account-based Registration Token. Thereafter, the entire process is automatic. Product Activation Keys (PAKs) and license files are no longer needed.

  • Management—Make changes to license consumption by updating your configuration; any license change is automatically reflected in your Smart Account. You can share licenses in your Virtual Account through the license pooling option. License pools (logical grouping of licenses) can reflect your organization structure. Smart Licensing solution also offers Cisco Smart Software Manager, a centralized portal that enables you to manage all your Cisco software licenses from one centralized website.

  • Visibility and Asset Management—Cisco Smart Software Manager (CSSM) portal offers an integrated view of the licenses you own and have deployed. You can use this data to make better purchase decisions, based on your consumption.


Note

  • By default Smart Licensing is enabled.


How Does Smart Licensing Work?

Smart Licensing consists of three steps as depicted in the following illustration.

Figure 1. Smart Licensing - Example
  1. Setting up Smart Licensing—You can place the order for Smart Licensing to manage licenses on Cisco.com portal. You can agree to the terms and conditions governing the use and access of Smart Licensing in the Smart Software Manager portal.

  2. Activate and Use Smart Licensing— Follow the steps to enable Smart Licensing as shown in the illustration in the Smart Licensing Workflow section.

    After you enable Smart Licensing, you can use either of the following options to communicate:

    • Smart Call Home—The Smart Call Home feature is automatically configured after the Smart Licensing is enabled. Smart Call Home is used by Smart Licensing as a medium for communication with the Cisco license service. Call Home feature allows Cisco products to periodically call-home and perform an audit and reconciliation of your software usage information. This information helps Cisco efficiently track your install base, keep them up and running, and more effectively pursue service and support contract renewals, without much intervention from your end. For more information on Smart Call Home feature, see the Smart Call Home Deployment Guide.

    • Smart Licensing Satellite—The Smart licensing satellite option provides an on-premises collector that can be used to consolidate and manage Smart license usage, as well facilitate communications back to Cisco License Service at Cisco.com.

  3. Manage and Report Licenses—You can manage and view reports about your overall software usage in the Smart Software Manager portal.

Deployment Options for Smart Licensing

The following illustration shows the various options available for deploying Smart Licensing:

Figure 2. Smart Licensing Deployment Options


  1. Direct cloud access—In direct cloud access deployment method, Cisco products send usage information directly over the internet to Cisco License Service on http://www.cisco.com; no additional components are needed for deployment.

  2. Direct cloud access through an HTTPs proxy—In direct cloud access through an HTTPs proxy deployment method, Cisco products send usage information over the internet through a proxy server - either a Smart Call Home Transport Gateway or off-the-shelf Proxy (such as Apache) to Cisco License Service on http://www.cisco.com.

  3. Mediated access through an on-premises collector-connected—In mediated access through an on-premises collector-connected deployment method, Cisco products send usage information to a locally-connected collector, which acts as a local license authority. Periodically, the information is exchanged to keep the databases in synchronization.

  4. Mediated access through an on-premises collector-disconnected—In the mediated access through an on-premises collector-disconnected deployment method, Cisco products send usage information to a local disconnected collector, which acts as a local license authority. Exchange of human-readable information is performed occasionally (once a month) to keep the databases in synchronization.

Options 1 and 2 provide an easy deployment option, and options 3 and 4 provide a secure environment deployment option. Smart Software Satellite provides support for options 3 and 4.

The communication between Cisco products and Cisco license service is facilitated by the Smart Call Home software.

About Call Home

Call Home provides an email and http/https based notification for critical system policies. A range of message formats are available for compatibility with pager services or XML-based automated parsing applications. You can use this feature to page a network support engineer, email a Network Operations Center, or use Cisco Smart Call Home services to generate a case with the Technical Assistance Center. The Call Home feature can deliver alert messages containing information about diagnostics and environmental faults and events.

The Call Home feature can deliver alerts to multiple recipients, referred to as Call Home destination profiles. Each profile includes configurable message formats and content categories. A predefined destination is provided for sending alerts to the Cisco TAC, but you also can define your own destination profiles. When you configure Call Home to send messages, the appropriate CLI show command is executed and the command output is attached to the message. Call Home messages are delivered in the following formats:
  • Short text format which provides a one or two line description of the fault that is suitable for pagers or printed reports.

  • Full text format which provides fully formatted message with detailed information that is suitable for human reading.

  • XML machine readable format that uses Extensible Markup Language (XML) and Adaptive Messaging Language (AML) XML schema definition (XSD). The AML XSD is published on the Cisco.com website at http://www.cisco.com/. The XML format enables communication with the Cisco Systems Technical Assistance Center.

Supported Flexible Consumption Model Licenses

Smart Licensing uses a flexible consumption licensing model. This licensing model is based on the capacity of the ports configured. If you purchase a chassis that supports Flexible Consumption model licensing, you need to configure Flexible Consumption model licensing to enable the licensing features. Flexible Consumption model licensing checks usage across all ports of a system daily and reports license usage results to the Smart Licensing Manager at Cisco.com.

To enable Flexible Consumption model licensing for your hardware or software, use license smart flexible-consumption enable command in the global configuration mode. To disable Flexible Consumption model licensing for your hardware or software, use the no license smart flexible-consumption enable command in the global configuration mode.

There are three types of licenses in this model:

  • Essential licenses are the licenses that are required by every active port, for example ESS-100G-RTU-1. These licenses support the pay as you grow model of flexible consumption model of licensing.

  • Advanced licenses are the licenses that are required for ports that use advanced features like L3VPN. Example of an advanced license is ADV-100G-RTU-1. These licenses support the pay as you grow model of flexible consumption model of licensing.

  • Tracking licenses. These licenses support systems and line cards and help you to understand the number of systems or line cards in use in a network.

The following table provides the consumption pattern of different Flexible Consumption model licenses for NCS 560:

Table 1. Flexible Consumption Licensing Model Usage Pattern

Flexible Consumption Model Licenses

Consumption Pattern

ESS-AC-100G-RTU-1

Access Network Essentials SW RTU per 100 Gb

ESS-AC-100G-SIA-3

Access Network Essentials SW Innovation Access per 100 Gb 3-year

ESS-AC-100G-SIA-4

Access Network Essentials SW Innovation Access per 100 Gb 4-year

ESS-AC-100G-SIA-5

Access Network Essentials SW Innovation Access per 100 Gb 5-year

ESS-AC-100G-SIA-7

Access Network Essentials SW Innovation Access per 100 Gb 7-year

ESS-AC-100G-SIA-10

Access Network Essentials SW Innovation Access per 100 Gb 10-year

ADV-AC-100G-RTU-1

Access Network Advanced SW RTU per 100 Gb

ADV-AC-100G-SIA-3

Access Network Advanced SW RTU per 100 Gb

ADV-AC-100G-SIA-3

Access Network Advanced SW Innovation Access per 100 Gb 3-year

ADV-AC-100G-SIA-4

Access Network Advanced SW Innovation Access per 100 Gb 4-year

ADV-AC-100G-SIA-5

Access Network Advanced SW Innovation Access per 100 Gb 5-year

ADV-AC-100G-SIA-7

Access Network Advanced SW Innovation Access per 100 Gb 7-year

ADV-AC-100G-SIA-10

Access Network Advanced SW Innovation Access per 100 Gb 10-year

N560-FC-SW

NCS 560 Series additional Software Licenses (RTU, SIA)

Configure Licenses Using the Smart Licensing Solution

Register and Activate Your Device

Smart Licensing components are packaged into the ncs5500-mini-x.iso. The https client that is required for configuring the Smart Call Home is packaged into the ncs5500-k9sec RPM. Use the steps described here to register and activate your device, and associate the device with your virtual account.

To register and activate your device, you must:

  • Generate registration token from the Cisco Smart Software Manager portal.

  • Use the registration token to register your device using the command line interface.

Generate Product Registration Token from the Portal

You must have purchased the product for which you are adding the license. When you purchase the product, you are provided with a username and password to the Cisco Smart Software Manager portal, from where you can generate the product instance registration tokens.

  1. Log in to Cisco Smart Software Manager at Smart Software Licensing.

  2. Under Inventory menu, click General tab.

  3. Click New Token to generate a product registration token.

  4. Copy the new token value, which is used to register and activate your device, and associate the device to your virtual account.


    Note

    This token is valid for 290 days.

Register New Product in CLI

On the command prompt, use the registration token to activate the device.

RP/0/RP0/CPU0:router# license smart register idtoken token_ID

On successful registration, the device receives an identity certificate. This certificate is saved on your device and automatically used for all future communications with Cisco. Every 290 days, Smart Licensing automatically renews the registration information with Cisco. If registration fails, an error is logged. Also, license usage data is collected and a report is sent to you every month. If necessary, you can configure your Smart Call Home settings such that sensitive information (like hostname, username and password) are filtered out from the usage report.

Verify Smart Licensing Configuration

After enabling Smart Licensing, you can use the show commands to verify the default Smart Licensing configuration. If any issue is detected, take corrective action before making further configurations.

Procedure


Step 1

show license status

Example:

router#show license status

Displays the compliance status of Smart Licensing. Following are the possible status:
  • Waiting—Indicates the initial state after your device has made a license entitlement request. The device establishes communication with Cisco and successfully registers itself with the Cisco Smart Software Manager.

  • Authorized—Indicates that your device is able to communicate with the Cisco Smart Software Manager, and is authorised to initiate requests for license entitlements.

  • Out-Of-Compliance—Indicates that one or more of your licenses are out-of-compliance. You must buy additional licenses.

  • Eval Period—Indicates that Smart Licencing is consuming the evaluation period. You must register the device with the Cisco Smart Software Manager, else your license expires.

  • Disabled—Indicates that Smart Licensing is disabled.

  • Invalid—Indicates that Cisco does not recognize the entitlement tag as it is not in the database.

Step 2

show license all

Example:

router# show license all

Displays all entitlements in use. Additionally, it shows associated licensing certificates, compliance status, UDI, and other details.
Step 3

show license status

Example:

router# show license status
Displays the status of all entitlements in use.
Step 4

show license udi

Example:

router# show license udi

Displays UDI information.

Step 5

show license summary

Example:

router# show license summary
Displays a summary of all entitlements in use.
Step 6

show license platform summary

Example:

router# show license platform summary

Displays the registration status and provides detailed information regarding the number of essential, advanced and tracking license consumption in generic or Flexible Consumption License Model.
Step 7

show license platform detail

Example:

router# show license platform detail


Displays the detailed licenses that can be consumed in particular platform in both generic and Flexible Consumption model. Also displays the current and the next consumption count of a particular license. Displays information of the active model,whether is it generic or Flexible Consumption License Model.
Step 8

show call-home smart-licensing statistics

Example:

The following example shows sample output from the show call-home smart-licensing statistics command:
router# show call-home smart-licensing statistics
Success: Successfully sent and response received.
Failed : Failed to send or response indicated error occurred.
Inqueue: In queue waiting to be sent.
Dropped: Dropped due to incorrect call-home configuration.

Msg Subtype      Success Failed  Inqueue Dropped Last-sent (GMT-07:00)
----------------------------------------------------------------------
ENTITLEMENT      2       0       0       0       2014-04-24 18:24:34
REGISTRATION     1       0       0       0       2014-04-25 03:53:57
ACKNOWLEDGEMENT  1       0       0       0       2014-04-23 19:21:21
RENEW            1       0       0       0       2014-04-23 19:21:11
DEREGISTRATION   1       0       0       0       2014-04-25 03:31:35

Displays the statistics of communication between the Smart Licensing manager and the Cisco back-end using Smart Call Home. In case communication fails or drops, check your call home configuration for any errors.

Renew Smart Licensing Registration

In general, your registration is automatically renewed every six months. Use this option to make an on-demand manual update of your registration. Thus, instead of waiting six months for the next registration renewal cycle, you can issue this command to instantly find out the status of your license.

Before you begin

You must ensure that the following conditions are met to renew your smart license:

  • Smart licensing is enabled.
  • The device is registered.

Procedure


license smart renew {auth | id}

Example:

RP/0/RP0/CPU0:#license smart renew auth 
Tue  Apr 22 09:12:37.086 PST

license smart renew auth: Authorization process is in progress. 
Please check the syslog for the authorization status and result. 
Renew your ID or authorization with Cisco smart licensing. If ID certification renewal fails, then the product instance goes to an unidentified state and starts consuming the evaluation period.

Authorization periods are renewed by the Smart Licensing system every 30 days. As long as the license is in an 'Authorized' or 'Out-of-compliance' (OOC), the authorization period is renewed. Grace period starts when an authorization period expires. During the grace period or when the grace period is in the 'Expired' state, the system continues to try renew the authorization period. If a retry is successful, a new authorization period starts.


De-register Smart Licensing

When your device is taken off the inventory, shipped elsewhere for redeployment or returned to Cisco for replacement using the return merchandise authorization (RMA) process, you can use the de-register option to cancel the registration on your device. Use the following steps to cancel device registration:

Procedure


license smart deregister

Example:

RP/0//CPU0 #license smart deregister

license smart deregister: Success

License command "license smart deregister " completed successfully.
Cancels the device registration and sends it into a 30-day evaluation mode. All Smart Licensing entitlements and certificates on the platform are removed. Though the product instance has been de-registered from the Cisco license cloud service, Smart Licensing is still enabled.

Smart Licensing Workflow

The Smart Licensing workflow is depicted in this flowchart.

Licenses, Product Instances, and Registration Tokens

Licenses

Depending on the product, all Cisco products licenses are any one of the following two types:

  • Perpetual licenses—Licenses that do not expire.

  • Term licenses—Licenses that automatically expire after a set amount of time: one year, three years, or whatever term was purchased.

All product licenses reside in a virtual account.

Product Instances

A product instance is an individual device with a unique device identifier (UDI) that is registered using a product instance registration token (or registration token). You can register any number of instances of a product with a single registration token. Each product instance can have one or more licenses residing in the same virtual account. Product instances must periodically connect to the Cisco Smart Software Manager servers during a specific renewal period. If a product instance fails to connect, it is marked as having a license shortage, but continues to use the license. If you remove the product instance, its licenses are released and made available within the virtual account.

Product Instance Registration Tokens

A product requires a registration token until you have registered the product. Registration tokens are stored in the Product Instance Registration Token Table associated with your enterprise account. Once the product is registered the registration token is no longer necessary and can be revoked and removed from the table without effect. Registration tokens can be valid from 1 to 365 days.

Virtual Accounts

Smart Licencing allows you to create multiple license pools or virtual accounts within the Smart Software Manager portal. Using the Virtual Accounts option you can aggregate licenses into discrete bundles associated with a cost center so that one section of an organization cannot use the licenses of another section of the organization. For example, if you segregate your company into different geographic regions, you can create a virtual account for each region to hold the licenses and product instances for that region.

All new licenses and product instances are placed in the default virtual account in the Smart Software Manager, unless you specify a different one during the order process. Once in the default account, you may choose to transfer them to any other account as desired, provided you have the required access permissions.

Use the Smart Software Manager portal at https://tools.cisco.com/rhodui/index to create license pools or transfer licenses.

Compliance reporting

On a periodic basis, as described by the terms of the Smart Licensing contract, reports are automatically sent to you containing inventory and license compliance data. These reports will take one of three forms:

  • Periodic Record—This record is generated on a periodic (configurable) basis with relevant inventory data saved at a given point of time. This report is saved within the Cisco cloud for archival.

  • Manual Record—You can manually generate this record with relevant inventory data saved at any given point of time. This report will be saved within the Cisco cloud for archival.

  • Compliance Warning Report—This report is automatically or manually generated when a license compliance event occurs. This report does not contain a full inventory data, but only any shortfalls in entitlements for a given software license.


    Note

    A warning message appears when a license is out-of-compliance. A log message is also saved in the syslog.


    You can view these reports from the Smart Software Manager portal at https://tools.cisco.com/rhodui/index.