show license
To display information about a Cisco IOS software license, use the show license command in privileged EXEC mode.
Cisco ASR 903 Routers
show license [agent {counters | session} | all | detail [feature-name] | feature | file | handle | image levels | statistics | status | udi]
Cisco ASR 1001 Routers
show license [EULA | agent | all | call-home | detail [feature-name] | feature | file | right-to-use | statistics | status | udi]
Cisco 4400 Series Integrated Services Routers
show license [EULA | agent | all | call-home | detail [feature-name] | feature | file | right-to-use | statistics | status | udi]
Cisco 860, 880, and 890 Series Routers, and Cisco 1900, 2900, and 3900 Series Integrated Services Router Platforms
show license [agent {counters | session} | all | detail [feature-name] | feature | file | statistics | status | udi [modules]]
Cisco Catalyst 3560-E and Cisco Catalyst 3750-E Switch and Switch Stack Platforms
show license [agent {counters | session} | all | detail [feature-name] | feature | file | image levels | statistics | status | udi [modules] switch switch-num]
Cisco Catalyst 3750-E Mixed Switch Stacks
show license [agent {counters | session} | detail {feature-name switch switch-num | switch switch-num} | [all | feature | file | status | udi [modules]] switch switch-num]
Cisco CSR 1000V Series Cloud Services Routers
show license [EULA | agent | all | call-home | detail [feature-name] | feature | file | handle | statistics | status | udi [history]]
Cisco uBR10012 Universal Broadband Routers
show license [ [agent {counters | session}] | detail {feature-name subslot slot/subslot | subslot slot/subslot} | udi [subslot | slot/subslot]] { all | feature | file | status | udi [modules]} switch switch-num
Cisco uBR7225VXR and Cisco uBR7246VXR Universal Broadband Routers
show license [ [agent {counters | session}]]detail {feature-name slot slot | slot slot}| udi [slot | slot] {all | feature | file | status | udi [modules]} switch switch-num
Syntax Description
agent |
Shows information about a license agent. |
counters |
Shows statistics counters for the license agent. |
session |
Shows session information related to a license agent. |
all |
Shows information about all licenses in the system. |
detail feature-name |
Shows detailed information about a specified licensed feature or about all licenses. |
EULA |
Shows information about the End User License Agreement. |
expiring |
Shows all available expiring licenses. |
feature |
Shows a list of licensed features available in an image. |
file |
Shows license entries stored in the license file. |
handle |
Shows license handle information. |
image levels |
Shows license image levels. |
image-levels |
Shows license image levels. |
in-use |
Show all available in-use licenses. |
permanent |
Show all available permanent licenses. |
right-to-use |
Show all available right-to-use licenses. |
statistics |
Shows license statistics information. |
status |
Shows information about supported license types and license operations, and provides device status. |
udi |
Shows all the unique device identifier (UDI) values that can be licensed in a system. |
modules |
Shows the hierarchical relationship between the UDI modules. |
history |
Shows the UDI history. |
switch switch-num |
Specifies a switch in a switch stack or in a mixed switch stack. The range is 1 to 9. |
subslot |
Shows the slot and subslot information of a line card. |
slot |
Shows the slot information of a line card. |
slot / |
Slot where the line card resides:
|
subslot |
The subslot number is 0 or 1. |
Command Modes
Privileged EXEC (#)
Command History
Release |
Modification |
---|---|
12.2(35)SE2 |
This command was introduced. |
12.4(20)T |
This command was integrated into Cisco IOS Release 12.4(20)T. |
12.2(33)SCC |
This command was integrated into Cisco IOS Release 12.2(33)SCC on the Cisco UBR-10 MC20X20V line card. |
15.0(1)M |
This command was modified. The modules keyword was added. |
12.2(33)SCD |
This command was modified. The subslot slot / subslot keyword and arguments were added for the Cisco uBR7225VXR and Cisco uBR7246VXR routers. |
Cisco IOS XE Release 3.2S |
This command was modified. The expiring , image-levels , in-use , and permanent keywords were added for the Cisco ASR 1001 router. |
Cisco IOS XE Release 3.3S |
This command was modified. The output for the show license feature command now includes information about the cube_ent-100 feature license for the Cisco ASR 1001 router. |
Cisco IOS XE Release 3.5S |
This command was modified. The handle keyword was added for the Cisco ASR 903 router. |
Cisco IOS XE Release 3.9S |
This command was modified. The EULA and UDI history keywords were added for the Cisco CSR 1000V router. This command was implemented on Cisco 4400 Series ISRs. |
Usage Guidelines
Use this command to display license information and to help with troubleshooting issues related to Cisco IOS software licenses. This command displays all the licenses in the system.
This command also displays the features that are available but not licensed to execute. Output is grouped according to how the features are stored in license storage.
If a switch number is specified, information from that switch is displayed. If a switch number is not specified, details of the local switch are displayed.
If the show license all command displays the license as Active, Not in Use, EULA not accepted, you can use the license boot module global configuration command to enable the license and accept the end-user license agreement (EULA). Do not confuse the license boot module global configuration command with a similarly named command available in privileged EXEC mode.
Cisco uBR10012 Universal Broadband Router Usage Guidelines
In a Cisco uBR10012 router, the line card is identified with a slot ID, which is a combination of the slot / subslot . Use the subslot keyword with the show license command syntax, when appropriate.
The show license udi command shows the UDI values for all cable interface line cards. When the command is used with the subslot keyword, the UDI value for the specified line card is displayed.
Keywords such as all , detail , feature , file , and status require the subslot slot / subslot keyword and arguments to execute the show license command.
To enable evaluation license on the Cisco uBR10012 router, use the license modify command.
Cisco uBR7225VXR and Cisco uBR7246VXR Universal Broadband Routers Usage Guidelines
To enable evaluation license on the Cisco uBR7225VXR and Cisco uBR7246VXR routers, use the license modify command.
Note |
The agent keyword is not supported in Cisco IOS Release 12.2(33)SCD on the Cisco uBR7225VXR and on the Cisco uBR7246VXR routers. |
Examples
The following is sample output from the show license agent counters command:
Router# show license agent counters
License Agent Counters
Request Messages Received:0: Messages with Errors:0
Request Operations Received:0: Operations with Errors:0
Notification Messages Sent:0: Transmission Errors:0: Soap Errors:0
The following is sample output from the show license all command on the Cisco ASR 1001 router:
Router# show license all
License Store: Primary License Storage
StoreIndex: 0 Feature: throughput Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
License Store: Primary License Storage
StoreIndex: 4 Feature: adventerprisek9 Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: Non-Counted
License Priority: Medium
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
Pak Number |
Product authorization key number, which is provided to you when you order and purchase the right to use a feature set for a particular platform. The PAK serves as a receipt and is used as part of the process to obtain a license. |
SKU Name |
Stock keeping unit name, which maps to one or more Cisco software features. |
Description |
Description provided for the SKU. |
Ordered Qty |
Quantity ordered. |
Feature List |
List of features. |
Platform Supported |
List of Cisco device platforms supported. |
The following is sample output from the show license detail command:
Router# show license detail
Index: 1 Feature: SNASw Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Lock type: Non Node locked
Vendor info:
License Addition: Additive
License Generation version: 0x8100000
License Count: Non-Counted
License Priority: None
Store Index: 5
Store Name: Evaluation License Storage
Index: 2 Feature: SSL_VPN Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 0 minute 0 second
Lock type: Non Node locked
Vendor info:
License Addition: Additive
License Generation version: 0x8100000
License Count: 200/0/0 (Active/In-use/Violation)
License Priority: Low
Store Index: 4
Store Name: Evaluation License Storage
Index: 3 Feature: datak9 Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA not accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
Lock type: Non Node locked
Vendor info:
License Addition: Additive
License Generation version: 0x8100000
License Count: Non-Counted
License Priority: None
Store Index: 2
Store Name: Evaluation License Storage
Index: 4 Feature: gatekeeper Version: 1.0
License Type: Evaluation
License State: Active, Not in Use, EULA accepted
Evaluation total period: 8 weeks 4 days
Evaluation period left: 0 minute 0 second
Lock type: Non Node locked
Vendor info:
License Addition: Additive
License Generation version: 0x8100000
License Count: Non-Counted
License Priority: Low
Store Index: 3
Store Name: Evaluation License Storage
Index: 5 Feature: ios-ips-update Version: 1.0
License Type: Paid Subscription
Start Date: N/A, End Date: Jun 16 2010
License State: Active, Not in Use
Lock type: Node locked
Vendor info: <UDI><PID>CISCO3900-MPE140</PID><SN>FHH123000G9</SN></UDI><T>PAS</T>
License Addition: Exclusive
License Generation version: 0x8200000
License Count: Non-Counted
License Priority: Medium
Store Index: 0
Store Name: Primary License Storage
The following is sample output from the show license feature command on the Cisco ASR 1001 router:
Router# show license feature
Feature name Enforcement Evaluation Clear Allowed Enabled
adventerprisek9 yes no yes yes
advipservicesk9 yes no yes no
ipbasek9 no no yes no
throughput yes no yes yes
The following is sample output from the show license feature command on the Cisco 4451-X Integrated Services Router:
Router# show license feature
Feature name Enforcement Evaluation Subscription Enabled RightToUse
appxk9 yes yes no yes yes
uck9 yes yes no no yes
securityk9 yes yes no no yes
ipbasek9 no no no no yes
The following is sample output from the show license file command:
Router# show license file
License Store: Primary License Storage
Store Index: 0
License: 11 throughput 1.0 LONG NORMAL STANDALONE EXCL INFINITE_KEYS INFIN
ITE_KEYS NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *12MDFXFBE6TEQR54
00 NiL NiL NiL 5_MINS <UDI><PID>ASR1001</PID><SN>JAE14020AT5</SN>
</UDI> :0oy5aopCvhfLBBk3:l0fBb4Kr3EwMLaYAHDV93ClpLXhJGOUE1ZuBusC,
0B2QIQLvo6eUrKn27faF3zOYTTyjLRCGA8UMkemMyqmvjcg0Jhfm$<WLC>AQEBIQA
B//8szae77QGOnFBXBoP02Obx6Fq2XtGPUJnh5pGplTkDzw9J5aqkkUjTNkuO4sv4
FYORqwInXo3s+nsLU7rOtdOxoIxYZAo3LYmUJ+MFzsqlhKoJVlPyEvQ8H21MNUjVb
hoN0gyIWsyiJaM8AQIkVBQFzhr10GYolVzdzfJfEPQIx6tZ++/Vtc/q3SF/5Ko8XC
Y=</WLC>
Comment: --
Hash: ZJJz5MveEOPePQA3ATs6+OxF4bw=
Store Index: 1
License: 11 adventerprisek9 1.0 LONG NORMAL STANDALONE EXCL INFINITE_KEYS
INFINITE_KEYS NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *12MDFXFBE6T
EQR5400 NiL NiL NiL 5_MINS <UDI><PID>ASR1001</PID><SN>JAE14020AT5
</SN></UDI> dFCG4MGqCj5nRQGYuTNELNjulmgkdTIxsGBaysKmB1f8it6t76IbU
1nDky:q5h843EeHBw9JMwZWcMfbveX8j93UWZckXYU8gSablS79TVo5Vg$<WLC>AQ
EBIQAB///Y5fwUA9AySxZ1dkpw8MgMeMEbPYi4rEAcdDnsmUIwbp0xMUblmtUwhaC
QMd/pCaGRqwInXo3s+nsLU7rOtdOxoIxYZAo3LYmUJ+MFzsqlhKoJVlPyEvQ8H21M
NUjVbhoN0gyIWsyiJaM8AQIkVBQFzhr10GYolVzdzfJfEPQIx6tZ++/Vtc/q3SF/5
Ko8XCY=</WLC>
Comment:
Hash: 7AlBc9W0+DqIdv/3EgOMsXW19Xs=
The following is sample output from the show license image levels command on the Catalyst 3750E switch:
Switch# show license image levels
Module name Image level(s) Priority Configure Valid license(s)
c3750e ipservices 2 YES ipservices;advipservices
ipbase 3 NO ipbase
The following is sample output from the show license status command:
Switch# show license status
License Type Supported
permanent Non-expiring node locked license
extension Expiring node locked license
evaluation Expiring non node locked license
License Operation Supported
install Install license
clear Clear license
annotate Comment license
save Save license
revoke Revoke license
call-home License call-home
Call-home Operation Supported
show pak Display license pak via call-home
install Install license via call-home
revoke Revoke license via call-home
resend Fetch license via call-home
Device status
Device Credential type: DEVICE
Device Credential Verification: PASS
Rehost Type: DC_OR_IC
SWIFT url status
Swift URL set to default value : https://tools.cisco.com/SWIFT/Licensing
The following is sample output from the show license udi modules command:
Router# show license udi modules
Location PID SN UDI
-----------------------------------------------------------------------------------------
Slot0 WS-C3750E-24TD-E CAT1146R04N WS-C3750E-24TD-E:CAT1146R04N
Slot0/1 WS-C3750E-24TD-E CAT1146R04X WS-C3750E-24TD-E:CAT1146R04X
Slot0/1/1 WS-C3750E-24TD-E CAT1146R04Y WS-C3750E-24TD-E:CAT1146R04Y
Examples
The following is sample output from the show license all command, where slot 5 denotes the line card for which the license information is requested. The table below describes the fields shown in the command output.
Router# show license all slot 5
License Store: Primary License Storage
StoreIndex: 0 Feature: DS_License Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: 8/8/0 (Active/In-use/Violation)
License Priority: Medium
StoreIndex: 1 Feature: US_License Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: 8/8/0 (Active/In-use/Violation)
License Priority: Medium
License Store: Evaluation License Storage
StoreIndex: 0 Feature: US_License Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
License Count: 8/0/0 (Active/In-use/Violation)
License Priority: None
StoreIndex: 1 Feature: DS_License Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
License Count: 8/0/0 (Active/In-use/Violation)
License Priority: None
The following is sample output from the show license detail command, where slot 5 specifies the line card for which detailed feature information is requested:
Router# show license detail slot 5
Index: 1 Feature: DS_License Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: 8/8/0 (Active/In-use/Violation)
License Priority: Medium
Store Index: 0
Store Name: Primary License Storage
Index: 2 Feature: DS_License Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
License Count: 8/0/0 (Active/In-use/Violation)
License Priority: None
Store Index: 1
Store Name: Evaluation License Storage
Index: 3 Feature: US_License Version: 1.0
License Type: Permanent
License State: Active, In Use
License Count: 8/8/0 (Active/In-use/Violation)
License Priority: Medium
Store Index: 1
Store Name: Primary License Storage
Index: 4 Feature: US_License Version: 1.0
License Type: Evaluation
License State: Inactive
Evaluation total period: 8 weeks 4 days
Evaluation period left: 8 weeks 4 days
License Count: 8/0/0 (Active/In-use/Violation)
License Priority: None
Store Index: 0
Store Name: Evaluation License Storage
The following is sample output from the show license status command, where slot 5 denotes the line card for which license information is requested:
Router# show license status slot 5
License Type Supported
permanent Non-expiring node locked license
extension Expiring node locked license
evaluation Expiring non node locked license
License Operation Supported
install Install license
clear Clear license
annotate Comment license
save Save license
Modify Modify license
revoke Revoke license
call-home License call-home
Call-home Operation Supported
show pak Display license pak via call-home
install Install license via call-home
revoke Revoke license via call-home
resend Fetch license via call-home
Device status
Device Credential type: DEVICE
Device Credential Verification: PASS
Rehost Type: DC_OR_IC
SWIFT url status
Swift URL set to default value : https://tools.cisco.com/SWIFT/Licensing
The following is sample output from the show license feature command, for the Upstream (US) and Downstream (DS) feature:
Router# show license feature slot 5
Feature name Enforcement Evaluation Subscription Enabled
US_License yes yes no yes
DS_License yes yes no yes
The following is sample output from the show license udi command, where slot 5 specifies the line card for which UDI information is requested:
Router# show license udi slot 5
SlotID PID SN UDI
-----------------------------------------------------------------------
*5 UBR-MC88U CSJ12514210 UBR-MC88U:CSJ12514210
The following is sample output from the show license udi command, when the slot keyword is not specified:
Router# show license udi
SlotID PID SN UDI
------------------------------------------------------------------------
5 UBR-MC88U CSJ12514210 UBR-MC88U:CSJ12514210
The table below describes the significant fields shown in the display.
Field |
Description |
---|---|
SlotID |
The slot number of the line card on the Cisco uBR7225VXR or Cisco uBR7246VXR router. |
PID |
Product identification number. The name by which the product can be ordered. |
SN |
Serial number. Used to identify an individual, specific instance of a product. |
UDI |
Unique device identifier. This information is printed on the device and stored electronically on the device to facilitate remote retrieval. |
The following is sample output from the show license file command:
Router# show license file slot 5
License Store: Primary License Storage
Store Index: 0
License: 11 DS_License 1.0 LONG NORMAL STANDALONE EXCL 8_KEYS INFINITE_KEY
S NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *1VDWSEZNBXMDUF6400 NiL
NiL NiL 5_MINS <UDI><PID>UBR-MC88U</PID><SN>CSJ12514210</SN></UDI
> dai:f7mhotuFuD:1flGnfTcbjjqZNSj4w2ZOJKrlVM3riaI6MhGUsnGkIbk83bi
U3SpE1bzN4X1TQ8x9HRC93fVHK9eTcFaMsLX6I,G4p4wWfimLew3H0SUSfdspJvyz
ikLZ$<WLC>AQEBIQAB///Z8GMgzMS3HccHkeioc4KXGR28VwY2ckacKin9G6PtV18
N/XB0WKmA+Mj6R0tJ+RmRqwInXo3s+nsLU7rOtdOxoIxYZAo3LYmUJ+MFzsqlhKoJ
VlPyEvQ8H21MNUjVbhoN0gyIWsyiJaM8AQIkVBQFzhr10GYolVzdzfJfEPQIx6tZ+
+/Vtc/q3SF/5Ko8XCY=</WLC>
Comment:
Hash: rYHlS/Q7961pN+kZpf3LQ9UR+dY=
Store Index: 1
License: 11 US_License 1.0 LONG NORMAL STANDALONE EXCL 8_KEYS INFINITE_KEY
S NEVER NEVER NiL SLM_CODE CL_ND_LCK NiL *1VDWSEZNBXMDUF6400 NiL
NiL NiL 5_MINS <UDI><PID>UBR-MC88U</PID><SN>CSJ12514210</SN></UDI
> yxU,2eYAsVZXLX1UhO:zfDWS4rE7OZr5g:cYy:rCOcVBi97MjRUZUzWb6Vi8MB2
3VVvaGQBN4tni,0BsTsufqgLjXaryA,NexvAPypO9AJRh3soHjqW,COT2V6fbgzPt
5u35$<WLC>AQEBIQAB//9uV7Zp1YcBuFy6gMM/gAYOXR7dm/+O06pGceLT3qUNUug
l4skFZoucJkLd0ojdk+mRqwInXo3s+nsLU7rOtdOxoIxYZAo3LYmUJ+MFzsqlhKoJ
VlPyEvQ8H21MNUjVbhoN0gyIWsyiJaM8AQIkVBQFzhr10GYolVzdzfJfEPQIx6tZ+
+/Vtc/q3SF/5Ko8XCY=</WLC>
Comment:
Hash: Hg6bxVO8ZZITGbFg7NoAQU/QGhs=
License Store: Evaluation License Storage
Store Index: 0
License: 11 US_License 1.0 LONG TRIAL DISABLED 1440 DISABLED STANDALONE AD
D 8_KEYS INFINITE_KEYS NEVER NEVER NiL SLM_CODE DEMO NiL NiL Ni N
iL NiL 5_MINS NiL V7kIRj,EZLjQ4gpW6nQYL40zCTx,wvk1k9buST3EOhLRys9
slYKaMRsXbMSuz3iHfA$<WLC>AQEBIQAB///QgcWXs1rLFOkfnLaMbSpR5sFnSmYb
dL0ZcysI1rlNaK9yrCLeW3aidzf+WNvFg86RqwInXo3s+nsLU7rOtdOxoIxYZAo3L
YmUJ+MFzsqlhKoJVlPyEvQ8H21MNUjVbhoN0gyIWsyiJaM8AQIkVBQFzhr10GYolV
zdzfJfEPQIx6tZ++/Vtc/q3SF/5Ko8XCY=</WLC>
Comment:
Hash: Rox9tmRbNJOygotZlWYmr0OOvY4=
Store Index: 1
License: 11 DS_License 1.0 LONG TRIAL DISABLED 1440 DISABLED STANDALONE AD
D 8_KEYS INFINITE_KEYS NEVER NEVER NiL SLM_CODE DEMO NiL NiL Ni N
iL NiL 5_MINS NiL Hp5gBr76OsVcoCNVW8Hi33rQs2xMyd5YU6sDI6oQSdVTrxI
vaLwepwAB4GXyk1zvLP$<WLC>AQEBIQAB//8c0JDyC40fqQGUTylDKqaN/AyL43ZV
PdJH0HolJAgOF5mjctCLuw5RaXRSPAJ09LaRqwInXo3s+nsLU7rOtdOxoIxYZAo3L
YmUJ+MFzsqlhKoJVlPyEvQ8H21MNUjVbhoN0gyIWsyiJaM8AQIkVBQFzhr10GYolV
zdzfJfEPQIx6tZ++/Vtc/q3SF/5Ko8XCY=</WLC>
Comment:
Hash: 3bm6gofelRl4J0rO/J44poj+dEY=