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 license
License 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:

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:

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.