Steps to activate Cisco Licensing on a Cisco Router:
- Purchase the software package or feature and receive a PAK based on your purchase.
- Get a license file using one of two options:
Please allow at least 30 minutes for the license key file to be sent to the 'Send To' email address. Issue experience during the PAK file registration. Recommend to contact Licensing team at licensing@cisco.com or lodge a Support Case from www.cisco.com to get further assistance. Next step after receiving the license key file. With the IOS XR in this case, we need a license to run VRF interfaces on our line cards. In order to request a license, you need to have a PAK key that you purchase, once you have that you will need to gather some information to request the license key. From the command prompt, enter the admin mode RP/0/RSP0/CPU0:R2# admin Tue Apr 17 01:34:35.
Cisco License Manager
Cisco License Registration Portal
- Install and manage the license.
In IOS versions previous to 15.x, there could have been 10 or 20 different IOS versions for a single router with different feature sets. Cisco greatly simplified that with the licesing model introudced in IOS 15.x. Basically now you load a single IOS image on a Cisco router called the Universal Image and based upon your license key, you are able to unlock the features of the IOS.
To view the technology package license and feature licenses support on a router, you are able to use the show license feature command. Furthermroe, to view information abotu Cisco IOS licenses on a specific router, you would use the show license feature command.
Router# show license feature
Router# show license feature
The license install command installs the license file on a router. A reboot of the router via the reload command is not required if an evaluation license is active. A reload is required to activate a technology package license if an evaluation license is not active. The command you will use to load the license is license install flash0:
Something very helpful in the newer 15.x IOS version is the concept of an evaluation license.
The license install command installs the license file on a router. A reboot of the router via the reload command is not required if an evaluation license is active. A reload is required to activate a technology package license if an evaluation license is not active.
The license save command saves copies of all licenses in a device. The storage location can be a directory or URL that points to a file system.
Cisco Ios 15 License Key Generator
The license clear command clears the technology package from license storage. From configuration mode, use the no license boot module command to clear the license boot module which disables the active license. A reload is required to make the technology package inactive.
Cisco Asa Activation Key Generator
Download Cisco Ios
In continuation of my Cisco IOS XR posts, this one will be on how to install license files on the Cisco IOS XR code train.
The following L3VPN licenses are available for Cisco IOS XR:
L3VPN License | Feature | Low Quueue Line Card | Medium Queue Line Card | High Queue Line Card |
A9K-IVRF-LIC | Up to 8 VRF | X | X | X |
A9K-AIP-LIC-B | Full-Scale VRF | X | X | N/A |
A9K-AIP-LIC-E | Full-Scale VRF | N/A | N/A | X |
So, lets get on with this and the ever loving Cisco licensing – well, not just Cisco but all vendors have some type of licensing. With the IOS XR in this case, we need a license to run VRF interfaces on our line cards. In order to request a license, you need to have a PAK key that you purchase, once you have that you will need to gather some information to request the license key.
From the command prompt, enter the admin mode
RP/0/RSP0/CPU0:R2#admin
Tue Apr 17 01:34:35.939 UTC
From there, enter the command show license udi
RP/0/RSP0/CPU0:R2(admin)#show license udi
Tue Apr 17 01:34:38.950 UTC
Local Chassis UDI Information:
PID : ASR-9010-AC
S/N : FOXXXXXAAAA
Operation ID: 1
RP/0/RSP0/CPU0:R2(admin)#
This information will be used on the Cisco License site – www.cisco.com/go/license (CCO Account required). Once you have submitted the PAK request, Licensing@cisco.com will send you the license file as an attachment within a few hours.
Once you have received the license file, you will need to copy it to the router via TFTP or some other method. The license file will also include the instructions to add it, and I have included them here as well. The license file we will be installing is called foo.lic and is on TFTP server 1.1.1.2
RP/0/RSP0/CPU0:R1#copy tftp: compactflash:
Wed Apr 11 05:23:23.259 UTC
Address or name of remote host []?1.1.1.2
Source filename [/tftp:]?foo.lic
Destination filename [compactflash:]? [just hit enter]
Accessing tftp://1.1.1.2/foo.lic
C
1199 bytes copied in 0 sec
RP/0/RSP0/CPU0:R1#admin
Next we can use the license add command from Admin mode
RP/0/1/CPU0:CRS#
RP/0/1/CPU0:CRS(admin)#license add compactflash:/foo.lic
RP/0/1/CPU0:Mar 16 16:01:37.077 : licmgr[252]: %LICENSE-LICMGR-6-LOAD_LICENSE_FILE_OK : All licenses from license file compactflash:/foo.lic added successfully
License command “license add compactflash:/foo.lic sdr Owner” completed successfully.
RP/0/1/CPU0:CRS(admin)#
Now we need to see if is has been added via the show license command
RP/0/1/CPU0:CRS(admin)#show license
FeatureID: foo (Slot based, Permanent)
Available for use 1
Allocated to location 0
Active 0
Pool: Owner
Status: Available 1 Operational: 0
Pool: sdr1
Status: Available 0 Operational: 0
Once the license has been successfully added, we now need to assign it to a line card slot. Again, this is done from Admin config mode
RP/0/RSP0/CPU0:R1(admin)#config
To assign the license, the command is license (License) location (LocationID). In our case, we are going to apply A9K-iVRF-LIC. The question mark will show you what location are available for this license.
RP/0/RSP0/CPU0:R1(admin-config)#license A9K-iVRF-LIC location ?
0/0/CPU0 Fully qualified location specification
0/1/CPU0 Fully qualified location specification
0/RSP0/CPU0 Fully qualified location specification
WORD Fully qualified location specification
all all locations
Now we can apply the licenses that we have to 0/0 and 0/1:
RP/0/RSP0/CPU0:R1(admin-config)#license A9K-iVRF-LIC location 0/0/CPU0
RP/0/RSP0/CPU0:R1(admin-config)#license A9K-iVRF-LIC location 0/1/CPU0
RP/0/RSP0/CPU0:R1(admin-config)#commit
Thu Apr 19 03:13:44.883 UTC
RP/0/RSP0/CPU0:R1(admin-config)#exit
RP/0/RSP0/CPU0:R1(admin)#exit
Once installed, we should check
RP/0/RSP0/CPU0:R1#sh license
Thu Apr 19 03:13:51.432 UTC
FeatureID: A9K-iVRF-LIC (Slot based, Permanent)
Total licenses 2
Available for use 0
Allocated to location 0
Active 2
Store name Permanent
Store index 1
Pool: Owner
Total licenses in pool: 2
Status: Available 0 Operational: 2
Locations with licenses: (Active/Allocated) [SDR]
0/1/CPU0 (1/0) [Owner]
0/0/CPU0 (1/0) [Owner]
RP/0/RSP0/CPU0:R1#
There they are, assigned to 0/1 and 0/0 as requested.