[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Managing JUNOS Licenses
The following sections describe how to manage the JUNOS
licenses with the CLI:
Adding New Licenses
To add a new license key to the router with the CLI:
- Enter operational mode in the CLI.
- 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
- 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.
- Go on to Verifying JUNOS License Management.
Deleting a License
To delete a license key from the router with the CLI:
- Enter operational mode in the CLI.
- Enter the following command for each license, specifying
the license ID. You can delete only one license at a time.
- user@host> request system license delete license-id
- Go on to Verifying JUNOS License Management.
Saving License Keys
To save the licenses installed on the router to a file
using the CLI:
- Enter operational mode in the CLI.
- To save the installed license keys to a file or
URL, enter the following command:
- user@host> request system license save filename | url
For example, the following command saves the installed
license keys to a file named license.config:
- user@host> request system license save ftp://user@host/license.conf
- Go on to Verifying JUNOS License Management.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]