Description

SRX reports error when add license "license not valid for this product add license failed (1 errors)"

Symptoms

user@device> show version 

Hostname:device

Model: srx1500

Junos: 20.2R3.9


user@device> show system license 

License usage: 

                 Licenses   Licenses  Licenses  Expiry

 Feature name            used  installed   needed 

 logical-system            1      3      0  permanent

 remote-access-ipsec-vpn-client    0      2      0  permanent

 remote-access-juniper-std       0      2      0  permanent


Licenses installed: none


user@device> request system license add terminal 

[Type ^D at a new line to end input,

 enter blank line between each license key]

TrialJUNOS303253090 aeaqia qmirbd cmjsgz auwmbs giyaqh ycdpih

          rufvai o5a6gq wubibn wqpdil katt2b 4nbnic

          ixihru fvbqie u5lonf ygk4ra jfxhiz lsnzqw

          ybziji ivlxd7 rhdcvg 2l72ui nkhp6k dl3qac

          kgiwml 5zlkz3 bhyjwm lujqzc pi53gg rqka5a     

terminal:1 error: TrialJUNOS303253090: license not valid for this product

add license failed (1 errors)

Solution

Upgrade the Junos to 21.2R3-S7.7 which later than 20.3R1 then the license key can be loaded successfully.

 

user@device> show version 

Hostname: device

Model: srx1500

Junos: 21.2R3-S7.7

 

user@device> show system license 

License usage: 

                 Licenses   Licenses  Licenses  Expiry

 Feature name            used  installed   needed 

 remote-access-ipsec-vpn-client    0      2      0  permanent

 remote-access-juniper-std       0      2      0  permanent

 

Licenses installed: none

 

user@device> request system license add terminal 

[Type ^D at a new line to end input,

 enter blank line between each license key]

TrialJUNOS303253090 aeaqia qmirbd cmjsgz auwmbs giyaqh ycdpih

          rufvai o5a6gq wubibn wqpdil katt2b 4nbnic

          ixihru fvbqie u5lonf ygk4ra jfxhiz lsnzqw

          ybziji ivlxd7 rhdcvg 2l72ui nkhp6k dl3qac

          kgiwml 5zlkz3 bhyjwm lujqzc pi53gg rqka5a

terminal:1 information:TrialJUNOS303253090: Ignoring the license for feature id: 182.This feature is not used by your product.

TrialJUNOS303253090: successfully added

add license complete (no errors)

 

Please know that there are three types of license key formats:

  1. LKG old License: Junos versions prior to 20.3R1.
  2. Agile RMS License: 20.3R1 and 20.4R1
  3. LKG new License: 20.3R2, 20.4R2, and later.

You must make sure the license type is compatible with the Junos version, otherwise the license key adding will be failed.

Generally, if your device is running a version prior to 20.3R1 and you have purchased a new license and activated it on the JAL portal, the license key type you receive will be “LKG new license.” In this case, you will need to upgrade Junos to support the new license key. 

If you have any questions about the license key itself, please open an admin case and contact Juniper Customer Care.

Modification History

2026-06-02 : Article Created