Cisco Switch – How to Activate C3850 License to IP Services

bgpciscolicenseswitch

We have Cisco C3850 running ipbase license recently we decided to run BGP protocol for that we need ipservices license.

Question: Do i need to buy new license or i have already that i just need to activate using right-to-use?

C3850#show switch
Switch/Stack Mac Address : 6c99.8962.2801 - Local Mac Address
Mac persistency wait time: Indefinite
                                             H/W   Current
Switch#   Role    Mac Address     Priority Version  State
------------------------------------------------------------
*1       Active   6c99.8962.2801     15     M0      Ready
 2       Standby  c414.3c9b.4190     1      M0      Ready

License:

C3850#show license right-to-use
 Slot#  License name   Type     Count   Period left
----------------------------------------------------------
 1      ipbase       permanent     N/A   Lifetime

License Level on Reboot: ipbase


 Slot#  License name   Type     Count   Period left
----------------------------------------------------------
 2      ipbase       permanent     N/A   Lifetime

License Level on Reboot: ipbase

Summary:

C3850#show license right-to-use usage
 Slot#  License Name     Type     usage-duration(y:m:d)  In-Use  EULA
-----------------------------------------------------------------------
 1      ipservices     permanent    0 :0 :0                no    no
 1      ipservices     evaluation   0 :0 :0                no    no
 1      ipbase         permanent    2 :0 :14               yes   yes
 1      ipbase         evaluation   0 :0 :0                no    no
 1      lanbase        permanent    0 :0 :0                no    no
 1      apcount        evaluation   0 :0 :0                no    no
 1      apcount        base         0 :0 :0                no    no
 1      apcount        adder        0 :0 :0                no    no

 Slot#  License Name     Type     usage-duration(y:m:d)  In-Use  EULA
-----------------------------------------------------------------------
 2      ipservices     permanent    0 :0 :0                no    no
 2      ipservices     evaluation   0 :0 :0                no    no
 2      ipbase         permanent    2 :0 :14               yes   yes
 2      ipbase         evaluation   0 :0 :0                no    no
 2      lanbase        permanent    0 :0 :0                no    no
 2      apcount        evaluation   0 :0 :0                no    no
 2      apcount        base         0 :0 :0                no    no
 2      apcount        adder        0 :0 :0                no    no

Can't i just activate using following command?

C3850#license right-to-use activate ?
  apcount     configure the AP-count licenses on the switch
  ipbase      activate ipbase license on the switch
  ipservices  activate Ipservices license on the switch
  lanbase     activate lanbase license on the switch

Update:

In following command its showing this, Does that means i already have license and i just need to Activate it? Look at Index 1 what that means?

C3850#show license right-to-use detail
Index 1:  License Name: ipservices
           Period left: Lifetime
           License Type: permanent
           License State: Not Activated
           License Count: Non-Counted
           License Location: Slot 1
Index 2:  License Name: ipservices
           Period left: 90
           License Type: evaluation
           License State: Not Activated
           License Count: Non-Counted
           License Location: Slot 1
Index 3:  License Name: ipbase
           Period left: Lifetime
           License Type: permanent
           License State: Active, In use
           License Count: Non-Counted
           License Location: Slot 1
Index 4:  License Name: ipbase
           Period left: 90
           License Type: evaluation
           License State: Not Activated
           License Count: Non-Counted
           License Location: Slot 1
Index 5:  License Name: lanbase
           Period left: Lifetime
           License Type: permanent
           License State: Not Activated
           License Count: Non-Counted
           License Location: Slot 1

Best Answer

From This Cisco Config Guide:

Permanent licenses—Purchased with a specific feature set with no expiration date.
Evaluation licenses—Pre-installed on the switch and is valid for only a 90 day in-use period.

You can run license right-to-use activate ip-services all accepteula to activate ipservices, and then restart the switch.

In general if you activate an image you don't have a license for it will warn you that you must purchase or deactivate in 90 days, etc.