Support Support Downloads Knowledge Base Apex Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] How do I load or upgrade my license key via the WebUI or the Command Line Interface (CLI)?



Article ID: KB5485 KB Last Updated: 15 Dec 2017Version: 12.0
Steps to load new license keys or license keys from a RMA'd device.
How do I load or upgrade my license key via the WebUI or the Command Line Interface (CLI)?

For loading license keys, the WebUI is simpler. Both sets of instructions are provided below:

WebUI instructions:

 Select Configuration > Update > ScreenOS/Keys.

 Select the License Key Update option.


 Click Browse.  Navigate to the file location and select the license key file; then click Open.

 Click Apply. This process takes a few minutes.  The next time you log on, the new license appears in the License Information box.

CLI instructions (using telnet or SSH or directly connected to the Firewall device.

  Open the CLI. For more information on how to open the CLI, go to Accessing the Command Line Interface Using Telnet.

  Enter the following command to load a version 2 license key, and then press ENTER:

exec license-key [license key]
jp_ns5gt_adsl-wlan-> exec lic 2lLnNlIDMjDsODKSmUyP+vDg5t+23VeNCXr2NyPGPtJfA9Cq024XE/NNUnbIKGWQggJY9

You have to reset the device to activate the license key.

note: The equal sign (=) or the key name is NOT used when loading version 2 license keys. Simply put the string of characters, with no CR/LF, in the [license key] field. 

 If you have a version 1 license key, which is 16 characters in length and is only loaded on ScreenOS 4.0.0 and below, then enter the following command:

For the Capacity Key:
set envar capacity_key=[license key]

For the HA/NSRP Key:
set envar nsrp_key=[license key]


Modification History:
2017-12-07: Article reviewed for accuracy. No changes made. Article is correct and complete.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search