Configuring a proxy server for URL dynamic analysis using the CLI

Prev Next

Use the CLI commands in this topic to configure or clear the HTTP proxy server settings for URL Dynamic Analysis.

To configure the proxy server settings for URL Dynamic Analysis:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Specify the IP address or fully qualified domain name and port number of the HTTP proxy server.

    hostname (config) # analysis live http-proxy <proxyServer> <port_number>
  3. If authentication is required, specify the name of the user and password to permit access to the proxy server.

    hostname (config) # analysis live proxy-authentication <username> <password>
  4. Verify the network connectivity between the HTTP proxy server and the Internet. An error is displayed if the data interface configuration is not correct or the connection attempt failed. Correct the configuration and then test the connection again before you continue.

    hostname (config) # analysis live check-connection
  5. Verify the proxy server settings for URL Dynamic Analysis.

    hostname (config) # show analysis live config
  6. Save your changes.

    hostname (config) # write memory
To clear the proxy server settings for URL Dynamic Analysis:
  1. Go to CLI configuration mode.

    hostname > enable
    hostname # configure terminal
  2. Clear the IP address or fully qualified domain name and port number. The proxy server IP address or fully qualified domain name will be specified as zeroes.

    hostname (config) # no analysis live http-proxy
  3. Clear the username and password.

    hostname (config) # no analysis live proxy-authentication
  4. Verify the proxy server settings for URL Dynamic Analysis.

    hostname (config) # show analysis live config
  5. Save your changes.

    hostname (config) # write memory
Example

This example shows how to configure proxy server settings and to verify network connectivity. The Live Analysis Configuration section of the show analysis live config command output displays the proxy server settings shared by URL Dynamic Analysis and controlled live mode.

hostname (config # analysis live http-proxy 10.10.10.5 8080
hostname (config) # analysis live proxy-authentication admin admin
hostname (config) # analysis live check-connection
hostname (config) # show analysis live config
   .
   .
   .
   Live Analysis Configuration
     .
     .
     .
     .
     Http Proxy      : 10.10.10.5:8080
     Http Proxy Authentication: admin/********
    .