Supported Platforms
Verifying Junos OS License Installation
To verify Junos OS license management, perform the following tasks:
Displaying Installed Licenses
Purpose
Verify that the expected licenses are installed and active on the router or switch.
Action
From the CLI, enter the show system license command.
Sample Output
user@host> show system license
License usage: Licenses Licenses Licenses Expiry Feature name used installed needed subscriber-acct 0 1 0 permanent subscriber-auth 0 1 0 permanent subscriber-addr 0 1 0 permanent subscriber-vlan 0 1 0 permanent subscriber-ip 0 1 0 permanent scale-subscriber 0 1000 0 permanent scale-l2tp 0 1000 0 permanent scale-mobile-ip 0 1000 0 permanent Licenses installed: License identifier: E000185416 License version: 2 Features: subscriber-acct - Per Subscriber Radius Accounting permanent subscriber-auth - Per Subscriber Radius Authentication permanent subscriber-addr - Address Pool Assignment permanent subscriber-vlan - Dynamic Auto-sensed Vlan permanent subscriber-ip - Dynamic and Static IP permanent
Meaning
The output shows a list of the license usage and a list of the licenses installed on the router or switch. Verify the following information:
- Each license is present. Licenses are listed in ascending alphanumeric order by license ID.
- The state of each license is permanent.
Note: A state of invalid indicates that the license key is not a valid license key. Either it was entered incorrectly or it is not valid for the specific device.
- The feature for each license is the expected feature. The features enabled are listed by license. An all-inclusive license has all features listed.
- All configured features have the required licenses installed. The Licenses needed column must show that no licenses are required.
Displaying License Usage
Purpose
Verify that the licenses fully cover the feature configuration on the router or switch.
Action
From the CLI, enter the show system license usage command.
Sample Output
user@host> show system license usage
Licenses Licenses Licenses Expiry Feature name used installed needed subscriber-addr 1 0 1 29 days scale-subscriber 0 1000 0 permanent scale-l2tp 0 1000 0 permanent scale-mobile-ip 0 1000 0 permanent
Meaning
The output shows any licenses installed on the router or switch and how they are used. Verify the following information:
- Any configured licenses appear in the output. The output lists features in ascending alphabetical order by license name. The number of licenses appears in the third column. Verify that you have installed the appropriate number of licenses.
- The number of licenses used matches the number of configured features. If a licensed feature is configured, the feature is considered used. The sample output shows that the subscriber address pooling feature is configured.
- A license is installed on the router or switch for each
configured feature. For every feature configured that does not have
a license, one license is needed.
For example, the sample output shows that the subscriber address feature is configured but that the license for the feature has not yet been installed. The license must be installed within the remaining grace period to be in compliance.