Verifying Junos Licenses
To verify Junos license management, perform the following tasks:
Displaying Installed Licenses
Purpose
Verify that the expected licenses are installed and active on the router.
Action
From the CLI, enter the show system license command.
Sample Output
user@router> show system licenseLicense 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. 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.
Action
From the CLI, enter the show system license usage command.
Sample Output
user@router> show system license usageLicenses 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 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 used licenses 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 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.
Displaying Installed License Keys
Purpose
Verify the license keys installed on the router.
Action
From the CLI, enter the show system license keys command.
Sample Output
user@router> show system license keys
G03000002223 aeaqea qkjjhd ambrha 3tkqkc ayareb zicik6
nv6jck btlxao 2trfyq 65cdou r5tbbb xdarpg
qq53lu qcx4vm ydakcs t3yyh2 v5mq
G03000002224 aeaqea qkjjhd ambrha 3tkqkc ayargb zicik6
nv6jck btlxao 2trfyq 65cdou r5tbof l4uon5
7rokz7 wgdocl r4q32p 2wu4zf zrxa
G03000002225 aeaqea qkjjhd ambrha 3tkqkc ayarab zicik6
nv6jck btlxao 2trfyq 65cdou r5tbiu jr6ui2
lmqgqj ouzq5a aiokdn 4tr4u2 wmcq
Meaning
The output shows a list of the license keys installed on the router. Verify that each expected license key is present.
