How to add License at eXR platform

Currently we have two ways to install the license.One is “Traditional Licensing” and the other is “Smart Software Licensing”.But at Cisco eXR platform(64-bit IOS XR), we can only use “Smart Software Licensing”.

Smart License

Before add a Smart Software License, you need to generate a product instance registration token first.Below it way to create a useful token.

  • Go to the Cisco Smart license page.
  • Clicking License > Smart Software Licensing.
  • Click on Inventory.
  • Click the New Token button.
  • Click Create Token.
  • Then copy the Token ID

Then,You need make sure your router can connect internet and “ping tools.cisco.com” sucessful.

RP/0/RSP0/CPU0:R1-9901#show run domain name-server 
Fri Jun 28 04:06:39.200 UTC
domain name-server 8.8.8.8

Now, You can login your eXR router,and enter below configuration.

call-home
service active
contact smart-licensing
profile CiscoTAC-1
  active
  destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
  reporting smart-licensing-data
  destination transport-method http

(config)# crypto ca trustpool policy 
(config-trustpool)#crl optional

license smart register idtoken <token ID>

Use call-home to connect to the CISCO License servers and validate the license entitlement. This could be done using HTTP or HTTPs. As HTTP was an unreliable connection, We recommend using HTTPs.

The configuration example was used HTTPs connection, Also you must install ” k9sec” packet at your router.

The following is the output after successful configuration.

Please note, The router will request the relevant license only after you enable the related feature.For example:
A9K-24P10G-IVRF, If we configure less than 8 different VRFs we will consume this license.(<=)
A9K-24P10G-AIP-TR, if we configuration more than 8 different VRFs we will consume this license. (>)

For example, if you purchase an A9K-24P10G-AIP-TR,how to quickly check whether the router can consume this license, hear is a suggestion, Please software loopback one PHY port and configuration > 8 sub-interface which belong to different VRF (need configuration IP Address). Then you need to wait at least 24 hours (reason was,router will report the license required information for Cisco website every 24h.)

Commonly used commands

#show license all 
#show license platform trace  all
#show call-home detail
#show license status
#show license summary
#show license platform detail

Tags:

           

1 comment

Comments feed for this article

  1. Linux’s avatar

    Hi Xu,

    we also can reserve the smart license for IOS-XR router.

    RP/0/RP0/CPU0:ASR-9922-A(config)#license smart reservation
    RP/0/RP0/CPU0:ASR-9922-A(config)#commit
    Sun Jun 13 17:09:17.710 UTC
    RP/0/RP0/CPU0:ASR-9922-A#license smart reservation request local
    Sun Jun 13 17:09:36.294 UTC

    Enter this request code in the Cisco Smart Software Manager portal:
    UDI: PID:ASR-9922-AC,SN:FOX1646G1HT
    Request code: CB-ZASR-9922-AC:1646T-AGU9xCpYr-13 <<<<<<<<<<
    RP/0/RP0/CPU0:ASR-9922-A#

    Reply

Reply

Your email address will not be published. Required fields are marked *