After installing new licenses on a QFX5120, the license appears as installed but with "License usage: none"
You will see logs like this:
{master:0}
root@QFX5120> show system license
License usage: none
Licenses installed:
License identifier: EmergencyJUNOS102985798
License version: 4
Valid for device: WJ3120440005
Customer ID: Juniper Internal
Features:
bgp - BGP Routing Protocol
date-based, 2023-09-12 17:00:00 PDT - 2023-10-13 17:00:00 PDT
l3static - License for activating L3 Static feature
isis - IS-IS Routing Protocol
rip - RIP protocol
vrrp - Virtual Router Redundancy Protocol
gre_tunnel - GRE tunnel usage license
ospf - OSPF protocol
filter-based-forwarding - Filter Based Forwarding
mc-lag - MC-LAG
This problem occurs due to the date on the device. If the device has a date outside the license validity period, the license will be installed but the usage will be "none".
To solve it, it is necessary to configure the date within the license validity period:
1. Correcting the local date:
user@host> set date YYYYMMDDhhmm.ss
For example:
user@host> set date 201307251632 Thu Jul 25 16:32:00 PDT 2013
Verify the time:
user@host> show system uptime
2. Or using an NTP server to sync up to a correct date:
user@host> set date ntp ntp-server
After the date is corrected, the issue disappears:
root> show system uptime
localre:
--------------------------------------------------------------------------
Current time: 2023-09-26 15:47:35 UTC
Time Source: LOCAL CLOCK
System booted: 2023-09-26 15:43:17 UTC (00:04:18 ago)
Protocols started: 2023-09-26 15:44:19 UTC (00:03:16 ago)
Last configured: 2023-09-20 21:00:45 UTC (5d 18:46 ago) by root
3:47PM up 4 mins, 1 users, load averages: 0.34, 0.48, 0.25
root> show system license
License usage:
Licenses Licenses Licenses Expiry
Feature name used installed needed
bgp 0 1 0 2023-10-14 00:00:00 UTC
isis 0 1 0 2023-10-14 00:00:00 UTC
filter-based-forwarding 0 1 0 2023-10-14 00:00:00 UTC
vrrp 0 1 0 2023-10-14 00:00:00 UTC
mc-lag 0 1 0 2023-10-14 00:00:00 UTC
l3static 0 1 0 2023-10-14 00:00:00 UTC
gre_tunnel 0 1 0 2023-10-14 00:00:00 UTC
rip 0 1 0 2023-10-14 00:00:00 UTC
ospf 0 1 0 2023-10-14 00:00:00 UTC
date-based, 2023-09-13 00:00:00 UTC - 2023-10-14 00:00:00 UTC
Configure Date and Time Locally | Junos OS | Juniper Networks
Network Time Protocol | Junos OS | Juniper Networks