Description

Customer may face the situation when they are not able to see the license key in system config output.

 

 

Symptoms

Customer may face the situation when they are not able to see the license key in system config output.

 

root@crpd1> show configuration system license 

keys;

 

As you can see in the above output the key is not visible.

Solution

This is expected behaviour of Junos.

 

When the license is added using the command "request system license add terminal" the key is applied to the system however does not get added to the system config as you can see below.

 

root@crpd1> request system license add terminal   

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

 enter blank line between each license key]

< truncated 20 244 Ni LONG NORMAL STANDALONE AGGR 1_KEYS INFINITE_KEYS 5 JAN 2024 0 0 5 MAR 2024 0 0 NiL SLM_CODE DEMO NiL NiL Ni NiL NiL 15_MINS NiL 0 >

3a449dbc-cb96-4bf0-a374-7247cef783ec: successfully added

add license complete (no errors)

root@crpd1> 

 

root@crpd1> show system license 

License usage: 

                 Licenses   Licenses  Licenses  Expiry

 Feature name            used  installed   needed 

 containerized-rpd-advanced      1      1      0  2024-03-05 00:00:00 UTC

 

Licenses installed: 

 License identifier: 3a449dbc-cb96-4bf0-a374-7247cef783ec

 License SKU: (NCKT)S-CRPD-10K-A-HR_TRIAL

 License version: 1

 Order Type: trial

 Software Serial Number: 062820222203-z4DmQ

 Customer ID: Juniper Internal

 License count: 1

 Features:

  containerized-rpd-advanced - Containerized routing protocol daemon with advanced features

   date-based, 2024-01-05 00:00:00 UTC - 2024-03-05 00:00:00 UTC

 

root@crpd1> show configuration system license 

keys;

 

We dont see the license in the system configuration.

 

However when we add the license key to the system using the " set system license keys key < truncated 20 244 Ni LONG NORMAL STANDALONE AGGR 1_KEYS INFINITE_KEYS 5 JAN 2024 0 0 5 MAR 2024 0 0 NiL SLM_CODE DEMO NiL NiL Ni NiL NiL 15_MINS NiL 0 >" command license gets added to the system config as part of configuration and it visible in the system config.

 

root@crpd1# show | compare 

[edit system license keys]

+   key "20 244 Ni LONG NORMAL STANDALONE AGGR 1_KEYS INFINITE_KEYS 5 JAN 2024 0 0 5 MAR 2024 0 0 NiL SLM_CODE DEMO NiL NiL Ni NiL NiL 15_MINS NiL 0 eJYa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mGaBdyjHaOZEnwE4KLVurn4akjUm4Uep7u4sCAwEAAQQlOGIxYjZmMWQtMzc2OS00ZjRlLWIzODctMzRlMzJlZTk2M2JkAAcBAQyCAI/9Bl0UhuEWYHM4qnZjbhgKxSbM1wNNb8bhk1EtXVI3X9DygbdK6f/di9EqDj3E0/3rlXWhSSAnnKiYeYqjAQBLSwMNnwnlR1kkDkHco93XLYSoQVPZK4cm3fTEPumbItU1EXjiqi4k7rpu6eiA8lR6iCEgHxIaBO49gOOOptSXyTjdPC7oxK5u3Nn/TxWCNBTG46HAU7qLR9oKmnpkTxnamrGBD9mj6znY/20HhhK8PmNllC65D2MULIiw8E83JxHMw5pkR6tIQ7wnQgLNmyfKtAhXszV1iUUhwaneGUVr34PEwgsihaxUiqi5R/kgIM6lvg9DY3+5Kr/O4Ylc/0MAAAK/#KeyType=Trial#AID=3a449dbc-cb96-4bf0-a374-7247cef783ec";

 

[edit]

root@crpd1# commit 

commit complete

 

root@crpd1> show system license   

License usage: 

                 Licenses   Licenses  Licenses  Expiry

 Feature name            used  installed   needed 

 containerized-rpd-advanced      1      1      0  2024-03-05 00:00:00 UTC

 

Licenses installed: 

 License identifier: 3a449dbc-cb96-4bf0-a374-7247cef783ec

 License SKU: (NCKT)S-CRPD-10K-A-HR_TRIAL

 License version: 1

 Order Type: trial

 Software Serial Number: 062820222203-z4DmQ

 Customer ID: Juniper Internal

 License count: 1

 Features:

  containerized-rpd-advanced - Containerized routing protocol daemon with advanced features

   date-based, 2024-01-05 00:00:00 UTC - 2024-03-05 00:00:00 UTC

 

root@crpd1> show configuration system license 

keys {

  key "20 244 Ni LONG NORMAL STANDALONE AGGR 1_KEYS INFINITE_KEYS 5 JAN 2024 0 0 5 MAR 2024 0 0 NiL SLM_CODE DEMO NiL NiL Ni NiL NiL 15_MINS NiL 0 truncated

}

 

We see the license in the system config. normally you do it using set when you need license key to be part of config backup.

 

Modification History

2024-02-07 : Article Created