Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring a Proxy Server for License Updates

 

This example shows how to configure a proxy server to download Juniper Networks license updates.

Requirements

This example uses the following hardware and software components:

  • An M Series, MX Series, PTX Series, or SRX Series device

  • Junos OS Release 11.4 running on the device

Overview

In Junos OS Release 11.4 and later, you can download Juniper Networks license updates using a proxy server. This feature is supported on M Series and SRX Series devices. In earlier releases, downloading license updates was only possible by directly connecting to the Juniper Networks License Management System.

In an enterprise, there might be devices in a private network that might be restricted from connecting to the Internet directly for security reasons. In such scenarios, you can configure a proxy server in the private network to connect to the LMS and download the license updates, and have the routers or devices in the private network connect to the proxy server to download the licenses or license updates. In Figure 1, R0 is the router in the private network. Proxy Server represents the proxy server, and LMS represents the Juniper Networks License Management System.

Figure 1: Proxy Server Example
Proxy Server Example

To enable this feature, you configure the device with details of the proxy server at the [edit system proxy] hierarchy level.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.

Router R0

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For information about navigating the CLI, see the CLI User Guide.

To configure the proxy server properties on the device:

  1. Configure the proxy server IP address or hostname.
  2. Configure a port number (ranging from 0 through 65535) used to connect to the proxy server.
  3. Configure the password as configured on the proxy server.
  4. Configure the username as configured on the proxy server.
  5. Configure trace options for licenses.

Results

From configuration mode, confirm your configuration by entering the show system command. If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

If you are done configuring the router, enter commit from configuration mode.

Verification

Confirm that the configuration is working properly.

Verifying That the License Is Downloaded

Purpose

Verify that the license is downloaded using the proxy server.

Action

  1. Delete the existing license using the request system license delete license-filename command.
  2. Download the license using the request system license update command.
    user@R0> request system license update
  3. Verify the license using the show system license command.
    user@R0> show system license
  4. Check the system log file to verify that the license is downloaded using the proxy server.
    user@R0> show /var/log/license.log

Related Documentation