[rancid] Cisco licenses

Roman Hochuli roman.hochuli at nexellent.ch
Tue Apr 29 18:15:58 UTC 2014


Hello Heasly

> an example?  its already collected on junos and iosxr.

Routers having the licensing ability react for example this way:

--snip
Router#show license udi
Device#	  PID			SN		UDI
-----------------------------------------------------------------------------
*0  	  CISCO2901/K9          FCZXXXXXXXX     CISCO2901/K9:FCZXXXXXXXX

Router# show license feature
Feature name             Enforcement  Evaluation  Subscription   Enabled
 RightToUse
ipbasek9                 no           no          no             yes      no
securityk9               yes          yes         no             yes
  yes
uck9                     yes          yes         no             no
  yes
datak9                   yes          yes         no             yes
  yes
gatekeeper               yes          yes         no             no
  yes
SSL_VPN                  yes          yes         no             no
  yes
ios-ips-update           yes          yes         yes            no
  yes
SNASw                    yes          yes         no             no
  yes
hseck9                   yes          no          no             no       no
cme-srst                 yes          yes         no             no
  yes
WAAS_Express             yes          yes         no             no
  yes
UCVideo                  yes          yes         no             no
  yes

Router# show license
Index 1 Feature: ipbasek9
	Period left: Life time
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
Index 2 Feature: securityk9
	Period left: Life time
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
Index 3 Feature: uck9
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None
Index 4 Feature: datak9
	Period left: Life time
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
Index 5 Feature: gatekeeper
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None
Index 6 Feature: SSL_VPN
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: 0/0  (In-use/Violation)
	License Priority: None
Index 7 Feature: ios-ips-update
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None
Index 8 Feature: SNASw
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None
Index 9 Feature: hseck9
Index 10 Feature: cme-srst
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: 0/0  (In-use/Violation)
        License Priority: None
Index 11 Feature: WAAS_Express
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None
Index 12 Feature: UCVideo
	Period left: Not Activated
	Period Used: 0  minute  0  second
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	License Count: Non-Counted
	License Priority: None

Router# show license detail
Index: 1 	Feature: SNASw                             Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 6
	Store Name: Built-In License Storage
Index: 2 	Feature: SSL_VPN                           Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: 0/0  (In-use/Violation)
	License Priority: None
	Store Index: 4
	Store Name: Built-In License Storage
Index: 3 	Feature: UCVideo                           Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 9
	Store Name: Built-In License Storage
Index: 4 	Feature: WAAS_Express                      Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 8
	Store Name: Built-In License Storage
Index: 5 	Feature: cme-srst                          Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: 0/0  (In-use/Violation)
	License Priority: None
	Store Index: 7
	Store Name: Built-In License Storage
Index: 6 	Feature: datak9                            Version: 1.0
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
	Store Index: 0
	Store Name: Primary License Storage
Index: 7 	Feature: datak9                            Version: 1.0
	License Type: EvalRightToUse
	License State: Inactive
            Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 2
	Store Name: Built-In License Storage
Index: 8 	Feature: gatekeeper                        Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 3
	Store Name: Built-In License Storage
Index: 9 	Feature: ios-ips-update                    Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 5
	Store Name: Built-In License Storage
Index: 10	Feature: ipbasek9                          Version: 1.0
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
	Store Index: 2
	Store Name: Primary License Storage
Index: 11	Feature: securityk9                        Version: 1.0
	License Type: Permanent
	License State: Active, In Use
	License Count: Non-Counted
	License Priority: Medium
	Store Index: 1
	Store Name: Primary License Storage
Index: 12	Feature: securityk9                        Version: 1.0
	License Type: EvalRightToUse
	License State: Inactive
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 0
	Store Name: Built-In License Storage
Index: 13	Feature: uck9                              Version: 1.0
	License Type: EvalRightToUse
	License State: Not in Use, EULA not accepted
	    Evaluation total period: 8  weeks 4  days
	    Evaluation period left: 8  weeks 4  days
	    Period used: 0  minute  0  second
	License Count: Non-Counted
	License Priority: None
	Store Index: 1
        Store Name: Built-In License Storage

Router#
--snap


Routers not having that ability react like this:
--snip
Router# show license
                  ^
% Invalid input detected at '^' marker.

Router#
--snap

-- 
Best regards,
Roman Hochuli
Operations Manager

nexellent ag
Saegereistrasse 33
CH-8152 Glattbrugg

Phone:       +41 44 872 20 00
Fax:         +41 44 872 20 01
URL:         www.nexellent.ch
X-NCC-RegID: ch.nexellent

Imagination is the one weapon in the war
against reality.
                    -- Jules de Gaultier



More information about the Rancid-discuss mailing list