Supported Platforms
Managing Licenses for the EX Series Switch (CLI Procedure)
To enable and use some Junos OS features on an EX Series switch, you must purchase, install, and manage separate software licenses. Each switch requires one license. For a Virtual Chassis deployment, two licenses are recommended for redundancy. After you have configured the features, you see a warning message if the switch does not have a license for the feature.
Before you begin managing licenses, be sure that you have:
- Obtained the needed licenses. For information about how to purchase software licenses, contact your Juniper Networks sales representative.
- Understand what makes up a license key. For more information, see License Key Components for the EX Series Switch.
This topic includes the following tasks:
Adding New Licenses
To add one or more new license keys on the switch, with the CLI:
- Add the license key or keys:
- To add one or more license keys from a file or URL, specify
the filename of the file or the URL where the key is located:
user@switch> request system license add filename | url
- To add a license key from the terminal:
user@switch> request system license add terminal
- To add one or more license keys from a file or URL, specify
the filename of the file 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 the license entry mode.
Deleting Licenses
To delete one or more license keys from the switch with the CLI, specify the license ID:
user@switch> request system license
delete license-id
You can delete only one license at a time.
Saving License Keys
To save the installed license keys to a file (which can be a URL) or to the terminal:
user@switch> request system license
save filename | url
For example, the following command saves the installed license keys to a file named license.conf:
user@switch> request system license
save ftp://user@switch/license.conf