burningnode.com
Random networking related stuff.

The CSR1000v license and the 100kbps


When you deploy the CSR1000v in production you will naturally add the licenses to unlock the forwarding capacity.

Recall that the CSR1000v available throughput capacity are :

platform hardware throughput level MB { 10 | 100 | 1000 | 10000 | 250 | 2500 | 50 | 500 | 5000 }

Anyway, in a lab environment this is a step often overlooked.
At this precise moment, you may have experienced severe performance issue if you’ve forgotten the license!

CSR1K#show platform hardware throughput level
The current throughput level is 100 kb/s
CSR1K(config)#do sh ver
Cisco IOS XE Software, Version 03.16.01a.S - Extended Support Release
Cisco IOS Software, CSR1000V Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.5(3)S1a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Wed 04-Nov-15 12:09 by mcpre

!snip!

License Level: ax
License Type: Default. No valid license found.
Next reload license Level: ax

cisco CSR1000V (VXE) processor (revision VXE) with 2061131K/6147K bytes of memory.
Processor board ID 00000000000
3 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
3988280K bytes of physical memory.
7774207K bytes of virtual hard disk at bootflash:.

Configuration register is 0x2102

So first, you need to retreive the license file:
Step 1.
– Connect to the Cisco software download webpage with you Cisco.com ID (http:/www.cisco.com/go/license)
– Select get other licenses
– Select demo and evaluation
– Then find the Cloud Service Router 1000v under the Routers & Switches section

license-cisco

Step 2.
– Select the license needed
– Select the use
– Enter the UDI found in the following output

CSR1K#show license udi
SlotID   PID                    SN                      UDI
--------------------------------------------------------------------------------
*        CSR1000V              00000000000     CSR1000V:00000000000

Step 3.
– Review and validate
– Submit and get the license file

The next step is to transfer the lic file to the router (tftp, scp…)

CSR1K# dir flash:
Directory of bootflash:/

!snip!

   14  -rw-             1271   Jan 6 2016 17:01:57 +00:00  lic25ax.lic

Then install the license with the following command

CSR1K#license install bootflash:lic25ax.lic
Installing licenses from "bootflash:lic25ax.lic"

Expiring licenses are being installed in the device with
UDI "CSR1000V:00000000000" for the following features:

        Feature Name: ax_2500M
        Start Date:         N/A, End Date: Mar 06 2016


PLEASE  READ THE  FOLLOWING TERMS  CAREFULLY. INSTALLING THE LICENSE OR
LICENSE  KEY  PROVIDED FOR  ANY CISCO  PRODUCT  FEATURE  OR  USING SUCH
PRODUCT  FEATURE  CONSTITUTES  YOUR  FULL ACCEPTANCE  OF  THE FOLLOWING
TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO  BE BOUND
BY ALL THE TERMS SET FORTH HEREIN.

Use of this product feature requires  an additional license from Cisco,
together with an additional  payment.  You may use this product feature
on an evaluation basis, without payment to Cisco, for 60 days. Your use
of the  product,  including  during the 60 day  evaluation  period,  is
subject to the Cisco end user license agreement
http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html
If you use the product feature beyond the 60 day evaluation period, you
must submit the appropriate payment to Cisco for the license. After the
60 day  evaluation  period,  your  use of the  product  feature will be
governed  solely by the Cisco  end user license agreement (link above),
together  with any supplements  relating to such product  feature.  The
above  applies  even if the evaluation  license  is  not  automatically
terminated  and you do  not receive any notice of the expiration of the
evaluation  period.  It is your  responsibility  to  determine when the
evaluation  period is complete and you are required to make  payment to
Cisco for your use of the product feature beyond the evaluation period.

Your  acceptance  of  this agreement  for the software  features on one
product  shall be deemed  your  acceptance  with  respect  to all  such
software  on all Cisco  products  you purchase  which includes the same
software.  (The foregoing  notwithstanding, you must purchase a license
for each software  feature you use past the 60 days evaluation  period,
so  that  if you enable a software  feature on  1000  devices, you must
purchase 1000 licenses for use past  the 60 day evaluation period.)

Activation  of the  software command line interface will be evidence of
your acceptance of this agreement.


ACCEPT? (yes/[no]): yes
Installing...Feature:ax_2500M...Successful:Supported
1/1 licenses were successfully installed
0/1 licenses were existing licenses
0/1 licenses were failed to install

Configure the license. The ax is the fully featured license.
The AppX license is new and brings the necessary features for Cisco IWAN framework such as: Application Visibility and Control (AVC), Wide Area Application Services (WAAS), Performance Routing v3 (PfR), and Akamai features. The ISR4K routers comes bundled with the AX license at an interesting price ; consider it if you expect to deploy all or some features.

CSR1K(config)#license boot level ?
  appx      Enable appx license
  ax        Enable ax(ipb+sec+appx) license
  ipbase    Enable ipbase license
  security  Enable security license
CSR1K(config)#license boot level ax
% use 'write' command to make license boot config take effect on next boot
CSR1K(config)#end
CSR1K#write
Building configuration...
  [OK]

Reload

CSR1K#reload
The following license(s) are transitioning, expiring or have expired.
Features with expired licenses may not work after Reload.
Feature: ax_2500M                       ,Status: expiring, Expiry Date: Mar 06 2016

Check

CSR1K#sh license detail
Index: 1        Feature: ax_2500M                          Version: 1.0
        License Type: Paid Subscription
        Start Date:         N/A, End Date: Mar 06 2016
        License State: Active, In Use
        License Count: Non-Counted
        License Priority: Medium
        Store Index: 0
        Store Name: Primary License Storage

Link to the procedure on Cisco website