Configure Smart Licensing Using Policy o
Configure Smart Licensing Using Policy o
Configure Smart Licensing Using Policy o
Introduction
This document describes the steps required for the configuration and registration of a Cisco IOS®-
XErouter with Smart Licensing Using Policy feature.
Prerequisites
Requirements
Components Used
● Cisco Smart License Utility version 1.0.0-2 installed on Windows Personal Computer (PC)
with Smart Account and Virtual Account configured
● On Integrated Services Routers (ISR), Aggregation Services Routers (ASR) 1000, Catalyst
8300, 8500 and 9000: Cisco IOS-XE 17.3.2
● On Catalyst 8200 and 1100: Cisco IOS-XE 17.4.1
● Cloud Services Router (CSR) and ISR virtual require an upgrade to Catalyst 8000v and Cisco
IOS-XE 17.4.1
The information in this document was created from the devices in a specific lab environment. All of
the devices used in this document started with a cleared (default) configuration. If your network is
live, ensure that you understand the potential impact of any command.
Configure
This document describes the next four possible topologies and configurations required when you
use Smart Licensing Using Policy, these options depend on how the router is connected to the
network.
● Router connected to Cisco Smart Software Manager (CSSM) through Cisco Smart License
Utility (CSLU).
● Router directly connected to CSSM.
● Router connected to CSLU and CSLU disconnected from CSSM.
● Router not connected to the CSSM and without CSLU in place.
In this section, it is explained Pull and Push methods and their respective configuration.
Network Diagram
Push Method Configuration
On this method, the product instance initiates the communication with CSLU, by a connection to a
Representational State Transfer (REST) endpoint in CSLU.
The data that is sent includes Real User Monitoring (RUM) reports and requests for authorization
codes, trust codes and policies.
Configuration Steps
Step 2. Choose Product Instance Initiated only, and define the IP address of the product
instance to be registered.
5.1. Configure the interface by which the HTTP message is sent with this command:
On this method, CSLU initiates the communication with the product instance in order to retrieve its
information.
Configuration Steps
Step 1. On the router, configure your preferred method of connectivity (NETCONF, RESTCONF,
or REST API).
Step 3. Choose any of the CSLU Initiated options related to the desired connection method
(NETCONF, RESTCONF, or REST API), and define the IP address of the product instance to be
registered.
Step 4. Choose from the list of Product Instances, the device to be registered and navigate to
Actions for Selected and Collect Usage.
Step 5. Verify the completion of the collection of license usage under that product instance.
Step 6. On the registered device, you must see a licensing policy installation successful log.
● Smart Transport Method. A Smart Licensing JavaScript Object Notation (JSON) message is
contained within a HyperText Transfer Protocol (HTTP) message and exchanged between a
product instance and the CSSM.
● Call-home Transport Method. Call-home provides e-mail-based and web-based notification of
critical system events.®
Network Diagram
3.1. In order to set license smart URL as default use this command:
Device(config)# license smart url default
3.2. If you use a proxy to reach CSSM, you need to add the proxy for smart:
Device(config)# call-home
Device(cfg-call-home)# source-interface interface-type-number
Device(cfg-call-home)# vrf Name_of_VRF
3.3. If you use a proxy to reach CSSM, you need to add the proxy to the call-home configuration,
with the interface used to reach the proxy:
Device(config)# call-home
Device(cfg-call-home)# source-interface interface-type-number
Device(cfg-call-home)# http-proxy "X.X.X.X" port XXXX
Step 4. Generate a new token from CSSM under your Smart Account and Virtual Account and
copy the generated token.
Step 5. Register the device with the token generated.
On this topology, CSLU provides you the option to work disconnected from the CSSM.
Network Diagram
Configuration Steps
Step 1. On the CSLU navigate to Product Instances and choose Download All For Cisco.
Step 2. On the CSSM Navigate to Reports and select Usage Data Files.
Step 4. Download the Acknowledge file generated. It is presented on the Usage Data Files list.
Step 5. On the CSLU, navigate to Product Instances and choose Upload from Cisco. Upload
the Acknowledge file downloaded from CSSM.
Router not Connected to the CSSM and without CSLU in
place
On this topology, you have a product instance that is disconnected from CSSM, and without any
other intermediary utilities or components. All communication is in the form of uploaded and
downloaded files.
Network Diagram
Configuration Steps
Step 1. Configure on the instance the smart-off license transport method and save the
configuration.
Step 4. Download the Acknowledge file generated and transfer it to the device.
Step 5. On the router, import the file and verify the correct installation.
Verify
Use this section to confirm that your configuration works properly.
On all of the topologies, you can verify the registered product instances on CSSM. The next
options are suggested steps in order to confirm the successful registration of the device.
Step 1. Navigate to Product Instances and on the search box type the Serial Number of the
registered device. You must see the device with its UDI as the name of the instance.
<snippet>
Policy:
Policy in use: Installed On Mar 18 21:20:38 2021 UTC
Policy name: SLE Policy
Reporting ACK required: yes (Customer Policy)
Unenforced/Non-Export Perpetual Attributes:
First report requirement (days): 30 (Customer Policy)
Reporting frequency (days): 60 (Customer Policy)
Report on change (days): 60 (Customer Policy)
Unenforced/Non-Export Subscription Attributes:
First report requirement (days): 120 (Customer Policy)
Reporting frequency (days): 150 (Customer Policy)
Report on change (days): 120 (Customer Policy)
Enforced (Perpetual/Subscription) License Attributes:
First report requirement (days): 0 (CISCO default)
Reporting frequency (days): 90 (Customer Policy)
Report on change (days): 60 (Customer Policy)
Export (Perpetual/Subscription) License Attributes:
First report requirement (days): 0 (CISCO default)
Reporting frequency (days): 30 (Customer Policy)
Report on change (days): 30 (Customer Policy)
Miscellaneous:
Custom Id: <empty>
Usage Reporting:
Last ACK received: Mar 18 21:20:38 2021 UTC
Next ACK deadline: May 17 21:20:38 2021 UTC
Reporting push interval: 30 days
Next ACK push check: Feb 23 20:24:13 2021 UTC
Next report push: Mar 30 15:45:55 2021 UTC
Last report push: Mar 18 21:16:38 2021 UTC
Last report file write: <none>
<snippet>
Troubleshoot
This section provides information you can use to troubleshoot your configuration.
1. Ensure the correct DNS resolution with CSLU (Connected to CSSM Through CSLU topology),
smartreceiver.cisco.com and tools.cisco.com (Connected Directly to CSSM topology).
or
Related Information
● Enable License Boot Level And Addon On Catalyst 8000V Edge Software
● Technical Support & Documentation - Cisco Systems