Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show system license

Syntax

show system license<installed | keys | usage>

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Command introduced in Junos OS Release 11.1 for the QFX Series.

Description

Display licenses and information about how they are used.

Options

none

Display all license information.

installed

(Optional) Display installed licenses only.

keys

(Optional) Display a list of license keys. Use this information to verify that each expected license key is present.

usage

(Optional) Display the state of licensed features.

Required Privilege Level

maintenance

List of Sample Output

show system license
show system license installed
show system license keys
show system license usage
show system license (QFX Series)

Output Fields

Table 1 lists the output fields for the show system license command. Output fields are listed in the approximate order in which they appear.

Table 1: show system license Output Fields

Field Name

Field Description

Feature name

Name assigned to the configured feature. You use this information to verify that all the features for which you installed licenses are present.

Licenses used

Number of licenses used by a router or switch. You use this information to verify that the number of licenses used matches the number configured. If a licensed feature is configured, the feature is considered used.

Note: In Junos OS Release 10.1 and later, the Licenses used column displays the actual usage count based on the number of active sessions or connections as reported by the corresponding feature daemons. This is applicable for scalable license-based features such as Subscriber Access (scale-subscriber), L2TP (scale-l2tp), Mobile IP (scale-mobile-ip), and so on.

Licenses installed

Information about the installed license key:

  • License identifier—Identifier associated with a license key.
  • State—State of the license key:valid or invalid. An invalid state indicates that the key was entered incorrectly or is not valid for the specific device.
  • License version—Version of a license. The version indicates how the license is validated, the type of signature, and the signer of the license key.
  • Valid for device—Device that can use a license key.
  • Group defined—Group membership of a device.
  • Features—Feature associated with a license, such as data link switching (DLSw).

Licenses needed

Number of licenses required for features being used but not yet properly licensed.

Expiry

Amount of time left within the grace period before a license is required for a feature being used.

Sample Output

show system license

user@host> show system license
License usage: 
                                 Licenses     Licenses    Licenses    Expiry
  Feature name                       used    installed      needed 
  subscriber-accounting                 2            2           0    permanent
  subscriber-authentication             1            2           0    permanent
  subscriber-address-assignment         2            2           0    permanent
  subscriber-vlan                       2            2           0    permanent
  subscriber-ip                         0            2           0    permanent
  scale-subscriber                      2            3           0    permanent
  scale-l2tp                            4            5           0    permanent
  scale-mobile-ip                       1            2           0    permanent

Licenses installed: 
  License identifier: XXXXXXXXXX
  License version: 2
  Features:
    subscriber-accounting - Per Subscriber Radius Accounting
      permanent
    subscriber-authentication - Per Subscriber Radius Authentication
      permanent
    subscriber-address-assignment - Radius/SRC Address Pool Assignment
      permanent
    subscriber-vlan  - Dynamic Auto-sensed Vlan
      permanent
    subscriber-ip    - Dynamic and Static IP
      permanent

show system license installed

user@host> show system license installed
  License identifier: XXXXXXXXXX
  License version: 2
  Features:
    subscriber-accounting - Per Subscriber Radius Accounting
      permanent
    subscriber-authentication - Per Subscriber Radius Authentication
      permanent
    subscriber-address-assignment - Radius/SRC Address Pool Assignment
      permanent
    subscriber-vlan  - Dynamic Auto-sensed Vlan
      permanent
    subscriber-ip    - Dynamic and Static IP
      permanent

show system license keys

user@host> show system license keys
XXXXXXXXXX xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx
	        xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx xxxxxx
	        xxxxxx xxxxxx xxx

show system license usage

user@host> show system license usage
License usage: 
                                 Licenses     Licenses    Licenses    Expiry
  Feature name                       used    installed      needed 
  subscriber-accounting                 2            2           0    permanent
  subscriber-authentication             1            2           0    permanent
  subscriber-address-assignment         2            2           0    permanent
  subscriber-vlan                       2            2           0    permanent
  subscriber-ip                         0            2           0    permanent
  scale-subscriber                      2            3           0    permanent
  scale-l2tp                            4            5           0    permanent
  scale-mobile-ip                       1            2           0    permanent

show system license (QFX Series)

user@switch> show system license
License usage: 
                   Licenses     Licenses    Licenses    Expiry
  Feature name         used    installed      needed 
  qfx-edge-fab            1            1           1    permanent
Licenses installed: 
  License identifier: JUNOS417988
  License version: 1
  Features:
    qfx-edge-fab  -        QFX3000 Series QF/Node feature license
      permanent

Published: 2013-08-15

Published: 2013-08-15