Cisco Catalyst Switches – Adding Licenses

KB ID 0001012 

Problem

I had a load of Cisco Catalyst 3560 switches that needed ‘ipbase’ licenses adding to them today. I’ve messed about with plenty of ASA license upgrades before, but not switches.

Solution

1. First thing you need is a Cisco PAK, this may be in an email or turn up in a cardboard envelope.

Cisco PAK

2. Go to http://www.cisco.com/go/license and log in (if you don’t already have a Cisco CCO account you can create one for free). Enter your PAK and select ‘fulfil’.

Cisco PAK Registration

3. Select ‘All Quantities’ > Next.

Cisco PAK

4. Enter your product ID and serial number (see below).

Cisco PAK

To locate your Product ID (PID), and serial number (SN), on the switch issue a ‘show license udi’ command.

Petes-Switch#show license udi
Device#   PID                   SN              UDI
-----------------------------------------------------------------------------
*0        WS-C3560X-24T-L       FDO1818X123     WS-C3560X-24T-L:FDO1818X123

Petes-Switch#

5. Accept the agreement > ensure your email address is correct > Submit.

Cisco PAK

6. Select ‘Download’ to get the license straight away (it will get emailed to you shortly).

Note: If it does not turn up in your email, check your junk email folder, I’m sure Microsoft Outlook does this on purpose!

Cisco PAK

7. You will have a file with a big long name and a .lic extension. If you want you can copy this onto the switch via TFTP, but let’s keep things simple and use a FAT32 formatted USB drive.

Catalyst Licence File

8. Before we start let’s check the license on the switch. I’m running my ipbase license on an evaluation, this is what we are going to add a permanent license for.

Petes-Switch#show license
Index 1 Feature: ipservices
        Period left: 8  weeks 4  days
        License Type: Evaluation
        License State: Active, Not in Use, EULA not accepted
        License Priority: None
        License Count: Non-Counted

Index 2 Feature: ipbase
        Period left: 7  weeks 5  days
        License Type: Evaluation
        License State: Active, In Use
        License Priority: Low
        License Count: Non-Counted

Index 3 Feature: lanbase
        Period left: Life time
        License Type: Permanent
        License State: Active, Not in Use
        License Priority: Medium
        License Count: Non-Counted


Petes-Switch#

9. Pop in the USB key with our .lic file on it.

Cisco USB Drive

10. Then copy the .lic file to the switches flash memory.

Mar 30 04:13:18.466: %USBFLASH-5-CHANGE: usbflash0 has been inserted!
Petes-Switch#copy usbflash0: flash:
Source filename []? FDO1818X123_201410200338212345.lic
Destination filename [FDO1818X123_201410200338212345.lic]? {Enter}
Copy in progress...C
1152 bytes copied in 0.041 secs (28098 bytes/sec)
Petes-Switch#

11. Install the new license.

Petes-Switch#license install flash:/FDO1818X123_2014102003382212345.lic
Installing licenses from "flash:/FDO1818X123_2014102003382212345.lic"
Installing...Feature:ipbase...Successful:Supported
1/1 licenses were successfully installed
0/1 licenses were existing licenses
0/1 licenses were failed to install

Petes-Switch#
Mar 30 04:19:35.643: %IOS_LICENSE_IMAGE_APPLICATION-6-LICENSE_LEVEL: Module name = c3560x 
Next reboot level = ipbase and

License = ipbase
Mar 30 04:19:36.146: %LICENSE-6-INSTALL: Feature ipbase 1.0 was installed in this device. 
UDI=WS-C3560X-24T-L:FDO1818X123;

StoreIndex=1:Primary License Storage
Petes-Switch#

12. The license wont take effect until you reload the switch.

Petes-Switch#write mem
Building configuration...
[OK]
Petes-Switch#reload
Proceed with reload? [confirm]{Enter}

Mar 30 04:20:43.104: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload command.

13.Post reboot, check and the license should now be permanent.

Petes-Switch#show license
Index 1 Feature: ipservices
        Period left: 8  weeks 4  days
        License Type: Evaluation
        License State: Active, Not in Use, EULA not accepted
        License Priority: None
        License Count: Non-Counted

Index 2 Feature: ipbase
        Period left: Life time
        License Type: Permanent
        License State: Active, In Use
        License Priority: Medium
        License Count: Non-Counted

Index 3 Feature: lanbase
        Period left: Life time
        License Type: Permanent
        License State: Active, Not in Use
        License Priority: Medium
        License Count: Non-Counted


Petes-Switch#

 

Related Articles, References, Credits, or External Links

Cisco ASA 5500 – Adding Licenses

Author: Migrated

Share This Post On