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.
show license

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 show license command output is from a universal hardware platform that supports Base, Premier, MACsec and Port licenses.
Switch:1>show license
        BASE License: Available, Perpetual
        PREMIER License: Factory Default Evaluation
                         Evaluation, 30 days
                         Remaining Days: 28
        MACSEC License: Not Available
        10G License: Available, Perpetual
                       Type: 8-Port 10G
                       Date and Time of Generation: 2021/05/25 00:00:00
************************************************************************