Verifying Junos OS Services License Management
To verify license management, perform the tasks explained in these sections:
Displaying Installed Licenses
Purpose
Verify that the expected licenses are installed and active on the device.
Action
From the CLI, enter the show system license command.
Sample Output
user@hostname> show system licenseLicense usage:
Licenses Licenses Licenses Expiry
Feature name used installed needed
bgp-reflection 0 1 0 permanent
Licenses installed:
License identifier: G03000002223
License version: 2
Valid for device: JN001875AB
Features:
bgp-reflection - Border Gateway Protocol route reflection
permanent
License identifier: G03000002225
License version: 2
Valid for device: JN001875AB
Meaning
The output shows a list of the license usage and a list of the licenses installed on the device and when they expire. Verify the following information:
- Each license is present. Licenses are listed in ascending alphanumeric order by license ID.
- 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.
- The expiration information for the license is correct. For Junos OS, licenses can be either permanent or valid until a specified date.
Displaying License Usage
Purpose
Verify that the licenses fully cover the feature configuration on the device.
Action
From the CLI, enter the show system license usage command.
Sample Output
user@hostname> show system license usage Licenses Licenses Licenses Expiry
Feature name used installed needed
bgp-reflection 1 1 0 permanent
Meaning
The output shows a list of the licenses installed on the device and how they are used. Verify the following information:
- Each license is present. Features are listed in ascending alphanumeric order by license name. The number of licenses is shown in the third column. Verify that the appropriate number of licenses are installed.
- 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 BGP route reflection feature is configured.
- The expiration information for the license is correct. For Junos OS, licenses can be either permanent or valid until a specified date.
Displaying Installed License Keys
Purpose
Verify the license keys installed on the device.
Action
From the CLI, enter the show system license keys command.
Sample Output
user@hostname> 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 device. Verify that each expected license key is present.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1