Show a License File

Display the existing software licenses on your device. If the switch uses a Factory Default Premier Trial License, the output shows the time remaining in the trial period.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Show the existing software licenses on your device:

    show license

Examples

Note

Note

Example outputs might not be identical on all hardware platforms.

The following output shows time remaining on a Trial License for a universal hardware platform when the trial period is extended:

Switch:1>show license

BASE License   : Available, Perpetual
PREMIER License: Factory Default Evaluation
                 Evaluation, 120 days
                 Remaining Days: 117
MACSEC License:  Available, Perpetual
                 Date and Time of Generation: 2020/09/17 00:00:00

************************************************************************
Features requiring a Premier license:
- Layer 3 VSNs
- MACsec
- Distributed Virtual Routing(DvR) Controller
- >16 BGP Peers

The following output is shows time remaining on a Trial License for non-universal hardware when the trial period is extended:

Switch:1>show license

License Type                     : 1) BASE
                                   2) PREMIER TRIAL (non-Base features)

Premier TrialPeriodRemainingDays  : 117

************************************************************************
Features requiring a Premier license:
        -  Layer 3 VSNs
        -  MACsec
        -  Distributed Virtual Routing(DvR) Controller
        -  VXLAN GATEWAY
        -  >16 BGP Peers
        -  Insight Virtualization
    

The following output is for a VSP 4450 Series switch that uses legacy Avaya .dat licenses. The output for the show license command for legacy licenses shows non-zero values for MD5 of Key and MD5 of File:

Switch:1>show license

       
        License file name      :    /intflash/premier.dat
        License Type           :    PREMIER
        MD5 of Key             :    7ce34d20 0caf0074 6657d928 1b4a0a18
        MD5 of File            :    9e0e5a4c 4855efb1 90909c11 bb870d84
        Generation Time        :    2015/08/12 01:53:39
        Expiration Time        :
        Base Mac Addr          :    b4:47:5e:37:9a:00
        flags                  :    0x00000001 SINGLE
        memo                   :


************************************************************************
Features requiring a Premier license:
        -  Layer 3 VSNs
        -  MACsec
        -  Distributed Virtual Routing(DvR) Controller
        -  >24 VRFs

The output for .xml licenses on some platforms shows all zeroes for MD5 of Key and MD5 of File:

Switch:1>show license

        License file name      :    /intflash/premier_macsec.xml

        License Type           :    PREMIER+MACSEC (includes Base features)
        MD5 of Key             :    00000000 00000000 00000000 00000000
        MD5 of File            :    00000000 00000000 00000000 00000000
        Generation Time        :    2015/2/26 11:09:53
        Expiration Time        :
        Base Mac Addr          :    b0:ad:aa:46:f0:00
        flags                  :    0x00000001 SINGLE
        memo                   :



************************************************************************
Features requiring a Premier license:
        -  Layer 3 VSNs
        -  MACsec
        -  Distributed Virtual Routing(DvR) Controller
        -  VXLAN GATEWAY
        -  >24 VRFs
        -  >16 BGP Peers


The following show license command output is from a platform that supports Base Licenses per IO slot and Feature Pack Licenses.

Switch:1>show license

        License file name      :    /intflash/.sys/Base.xml
        License Type           :    BASE
        Duration Type          :    Perpetual
        Generation Time        :    2017/01/05 20:57:22
        Expiration Time        :
        Host ID                :    F873A2045000
************************************************************************
Features requiring a L3V + MacSec license:
        -  Layer 3 VSNs
        -  MACsec
************************************************************************

        Number of IO license entitlements: 8
        License granted for slots        : 1  2  5  8

************************************************************************

The following show license command output is from an XA1400 Series platform that supports Subscription Licenses.

Switch:1>show license

 License file name      :    FCVPN500-EW-5YR.xml
        License Type           :    FCVPN500-EW-5YR
        Duration Type          :    TimeBased
        Generation Time        :    2019/06/10 06:50:08
        Expiration Time        :    2024/06/08
        Host ID                :    DCB808B66000
************************************************************************

The following show license command output is from a universal hardware platform that supports Base, Premier, and MACsec licenses.

Switch:1>show license

        BASE License: Available, Perpetual
        PREMIER License: Available, Perpetual
                        Date and Time of Generation: 2020/10/20 13:51:00
        MACSEC License: Available, Perpetual
                       Date and Time of Generation: 2020/10/20 13:55:00

************************************************************************