
Cisco DNA Licensing
Created: 2020-02-13 22:53:23 | Last modified: 2022-03-13 00:22:13Access: Read | Views: 674 | Rating: N/A | Tags: cisco
Instructions of how to register cisco DNA licenses
Cisco has starting moving to the DNA licensing model. The device comes with a Base License and then Add On licenses which can be purchased in 3, 5 and 7 year blocks.

Here is a list of commands to register the device. We assume the device is in smart mode.
Get the current license summary. Here you can see we have an evaluation of the Network Advantage license (Evaluation mode)
router# sh license summary
Smart Licensing is ENABLED
Registration:
Status: UNREGISTERED
Export-Controlled Functionality: NOT ALLOWED
License Authorization:
Status: EVAL MODE
Evaluation Period Remaining: 88 days, 18 hours, 43 minutes, 19 seconds
License Usage:
License Entitlement tag Count Status
-----------------------------------------------------------------------------
(C9300-24 Network Advan...) 1 EVAL MODE
Confirm you can ping out to the world
ping vrf Mgmt-vrf google.com
Modify licensing (if required, in this case it is because coming from the management VRF)
call-home vrf Mgmt-vrf # Added following to make registration work ip http client source-interface GigabitEthernet0/0
Get the token from the licensing portal (https://software.cisco.com)
- Go To: Smart Software Licensing -> Inventory -> General -> New TokenĀ
- Enter in a description
- Check "Allow export-controlled functionality on the products registered with this token"
- Click "Create Token"
- Note down the token
Register the device from the router
router# license smart register idtoken THETOKENView the status of the registration, in this example the registration is still pending;
router# show license status
Smart Licensing is ENABLED
Utility:
Status: DISABLED
Data Privacy:
Sending Hostname: yes
Callhome hostname privacy: DISABLED
Smart Licensing hostname privacy: DISABLED
Version privacy: DISABLED
Transport:
Type: Callhome
Registration:
Status: UNREGISTERED - REGISTRATION PENDING
Export-Controlled Functionality: NOT ALLOWED
Initial Registration: First Attempt Pending
License Authorization:
Status: EVAL MODE
Evaluation Period Remaining: 88 days, 18 hours, 20 minutes, 29 seconds
Export Authorization Key:
Features Authorized:
Once the license has been registered, you should see something similar to this;
router# show license status
Smart Licensing is ENABLED
Utility:
Status: DISABLED
Data Privacy:
Sending Hostname: yes
Callhome hostname privacy: DISABLED
Smart Licensing hostname privacy: DISABLED
Version privacy: DISABLED
Transport:
Type: Callhome
Registration:
Status: REGISTERED
Smart Account: YOUR COMPANY NAME
Virtual Account: DEFAULT
Export-Controlled Functionality: ALLOWED
Initial Registration: SUCCEEDED on Feb 14 02:04:13 2020 UTC
Last Renewal Attempt: None
Next Renewal Attempt: Aug 12 02:04:13 2020 UTC
Registration Expires: Feb 13 01:58:57 2021 UTC
License Authorization:
Status: AUTHORIZED on Feb 14 02:04:18 2020 UTC
Last Communication Attempt: SUCCEEDED on Feb 14 02:04:18 2020 UTC
Next Communication Attempt: Mar 15 02:04:18 2020 UTC
Communication Deadline: May 14 01:59:17 2020 UTC
Export Authorization Key:
Features Authorized:
--------------------------------------------------------------------------
router# sh license summary
Smart Licensing is ENABLED
Registration:
Status: REGISTERED
Smart Account: Your Company Name
Virtual Account: DEFAULT
Export-Controlled Functionality: ALLOWED
Last Renewal Attempt: None
Next Renewal Attempt: Aug 12 02:04:13 2020 UTC
License Authorization:
Status: AUTHORIZED
Last Communication Attempt: SUCCEEDED
Next Communication Attempt: Mar 15 02:04:18 2020 UTC
License Usage:
License Entitlement tag Count Status
-----------------------------------------------------------------------------
C9300 24P NW Advantage (C9300-24 Network Advan...) 1 AUTHORIZED