Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring Licenses in Junos OS using Network Licensing Mode

Manage Licenses Using Network License Mode

In network mode, the device automatically requests a license from the Juniper Agile License Manager that is installed on the network.

  1. Enable network mode for Juniper Agile Licensing.

    # set system license network-mode

  2. Configure the Juniper Agile License Manager IP address to retrieve the required licenses.

    # set system license network-server address server-name or server-ip

In network mode, the device fetches the licenses from Juniper Agile License Manager.

Configuring Licenses on vMX Virtual Routers

Configure the licenses that are available in Juniper Agile License Manager on a vMX device.

  1. Log in to the vMX device and enter configuration mode.

  2. Set the chassis license along with the type of license required.

  3. Set the chassis license bandwidth in Mbps.

Managing vMX Licenses

You must add a license to use vMX features. The licensed features are enforced based on the license you purchased.

Starting in Junos OS Release 17.4 for AWS, you must add a license if you are using vMX in the Bring Your Own License (BYOL) model.

If you upgrade from a BASE package license to an ADVANCE or PREMIUM package license or if you downgrade from an ADVANCE or PREMIUM package license to a BASE package license, you must restart the routing protocol process (restart routing). If your configuration has logical systems, you must restart the routing protocol process for all logical systems (restart routing logical-system logical-system-name).

If you need to move your vMX installation to another host, you must remove vMX from the current host before installing vMX and adding the license on the new host.

Adding a License

To add a license key to the vMX:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

    Or, you can copy and paste the license activation key directly to add the license key. For example:

  2. Verify that the license is installed. VMX-BANDWIDTH indicates the licensed bandwidth (in Mbps) and VMX-SCALE indicates the application package. (VMX-SCALE 1 is the BASE package, VMX-SCALE 2 is the ADVANCE package, and VMX-SCALE 3 is the PREMIUM package.) This information is also listed as Features in the Licenses installed section. For example, this output indicates that the 40G perpetual license for the PREMIUM application package is installed.
  3. Verify the configured bandwidth for PFE traffic matches the licensed bandwidth (VMX-BANDWIDTH). The current and average bandwidth are also displayed.

Deleting a License

To delete a vMX license:

  1. Display the installed licenses.
  2. Delete the license.

    For example:

  3. Verify that the license is deleted.

Managing cRPD Licenses

You must add a license to use cRPD features. The licensed features are enforced based on the license you purchased.

There are two methods to add license on containerized routing protocol process (cRPD).

Adding a License to cRPD

Method 1:

To add a license key to the cRPD:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

    Or, you can copy and paste the license activation key directly to add the license key. For example:

  2. Verify the installed license.

Method 2:

To add a license key to the cRPD:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

  2. Verify the installed license.

Managing cSRX Licenses

There are two methods to add license on cSRX.

Add license using a license file

To add a license file to the cSRX:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

    Or, you can copy and paste the license activation key directly to add the license key. For example:

  2. Verify the installed license.

Add license using a license key

To add a license key to the cSRX:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

  2. Verify the installed license.

Managing vSRX Licenses Using Standalone Mode

There are two methods to add licenses on vSRX.

Add License Using a License File

To add a license file to vSRX:

  1. Copy the license activation key file to the Virtual Chassis Port (VCP) and add the license key by specifying the filename.

    Or, you can copy and paste the license activation key directly to add the license key. For example:

  2. Verify the installed license.

Add License Using a License Key

To add a license key to vSRX:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

  2. Verify the installed license.

Managing QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C Devices License

You must add a license to use QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C devices features. The licensed features are enforced based on the license you purchased.

To manage a license on the QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C devices, use below methods:

You cannot install license on the device, when the device using network mode.

There are two methods to add license on QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C devices.

Add license using a license file:

To add a license key to the QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C devices:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

    Or, you can copy and paste the license activation key directly to add the license key. For example:

  2. Verify the installed license.

Add license using a license key:

To add a license key to the QFX5220-32CD, QFX5220-128C, PTX10003-80C, and PTX10003-160C devices:

  1. Copy the license activation key file to the VCP and add the license key by specifying the filename.

  2. Verify the installed license.

For more information on install, save, and delete the license, see Managing Licenses.

Release History Table
Release
Description
17.4
Starting in Junos OS Release 17.4 for AWS, you must add a license if you are using vMX in the Bring Your Own License (BYOL) model.