show license

To display license information, use the show license command.

show license [ brief | default | file filename ]

Syntax Description

brief
(Optional) Displays a list of license files installed on a device.
default
(Optional) Displays the services that use the default license.
file filename
(Optional) Displays information for a specific license file.

Command Default

Displays information about the installed licenses.

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.
5.1(3)N1(1)
The default keyword was introduced.

Examples

This example shows how to display a specific license installed on the switch:

switch# show license file fc5020.lic
 

This example shows how to display a list of license files installed on a device:

switch# show license brief
fcoelicense.lic
switch#
 

This example shows how to display the services that use the default license:

switch# show license default
Feature Default License Count
-------------------------------------------------------------------------------
FCOE_NPV_PKG -
FM_SERVER_PKG -
ENTERPRISE_PKG -
FC_FEATURES_PKG -
VMFEX_FEATURE_PKG -
ENHANCED_LAYER2_PKG -
-------------------------------------------------------------------------------
switch#
 

This example shows how to display all licenses installed on a device:

switch# show license
fcoelicense.lic:
SERVER this_host ANY
VENDOR cisco
INCREMENT ENTERPRISE_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>N5020-SSK9=</SKU> \
HOSTID=VDH=SSI13390FZT \
NOTICE="<LicFileID>20100611101827012</LicFileID><LicLineID>1</LicLineID>
\
<PAK></PAK>" SIGN=877DB4A06E0C
INCREMENT FC_FEATURES_PKG cisco 1.0 permanent uncounted \
VENDOR_STRING=<LIC_SOURCE>MDS_SWIFT</LIC_SOURCE><SKU>N5020-SSK9=</SKU> \
HOSTID=VDH=SSI13390FZT \
NOTICE="<LicFileID>20100611101827012</LicFileID><LicLineID>2</LicLineID>
\
<PAK></PAK>" SIGN=A075D610878C
 
switch#
 

Related Commands

Command
Description
install license
Installs a license.
show license host-id
Displays the serial number of the chassis to use for licensing.
show license usage
Displays license usage information.