Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, SRX, T Series
- Junos OS Feature Licenses
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Deleting a License (CLI Procedure)
- EX, J, M, MX, PTX, QFX, T Series
- request system license add
- J, M, MX, PTX, QFX, SRX, T Series
- Verifying Junos OS License Installation
Adding New Licenses (CLI Procedure)
Before adding new licenses, complete the following tasks:
- Purchase the required licenses.
- Establish basic network connectivity with the router or switch. For instructions on establishing basic connectivity, see the Getting Started Guide or Quick Start Guide for your device.
![]() | Note: On QFabric systems, install your licenses in the default partition of the QFabric system and not on the individual components (Node devices and Interconnect devices). |
To add a new license key to the device using the CLI:
- From the CLI operational mode, enter one of the following
CLI commands:
- To add a license key from a file or URL, enter the following
command, specifying the filename or the URL where the key is located:user@host> request system license add filename | url
- To add a license key from the terminal, enter the following
command: user@host> request system license add terminal
- To add a license key from a file or URL, enter the following
command, specifying the filename or the URL where the key is located:
- When prompted, enter the license key, separating multiple
license keys with a blank line.
If the license key you enter is invalid, an error appears in the CLI output when you press Ctrl+d to exit license entry mode.
Note: If the router has two Routing Engines, add the new license on each Routing Engine separately. This ensures that the license key is enabled on the backup Routing Engine during changeover of mastership between the Routing Engines.
To add a new license key to a router with dual Routing Engines:
- After adding the new license key on the master Routing Engine, use the request chassis routing-engine master switch command to have the backup Routing Engine become the master Routing Engine.
- Log in to the active Routing Engine and add the new license key, repeating the same process.
- Go on to Verifying Junos OS License Installation.
![]() | Note:
Adding a license key to the router or switch might be
delayed if a kernel resynchronization operation is in progress at
that time. The following message is displayed on the CLI when the
license-adding operation is about to be delayed: |
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, SRX, T Series
- Junos OS Feature Licenses
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Deleting a License (CLI Procedure)
- EX, J, M, MX, PTX, QFX, T Series
- request system license add
- J, M, MX, PTX, QFX, SRX, T Series
- Verifying Junos OS License Installation
Published: 2013-08-15
Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, QFX, SRX, T Series
- Junos OS Feature Licenses
- EX, J, M, MX, PTX, QFX, SRX, T Series
- Deleting a License (CLI Procedure)
- EX, J, M, MX, PTX, QFX, T Series
- request system license add
- J, M, MX, PTX, QFX, SRX, T Series
- Verifying Junos OS License Installation