Configuring the HTTP Content Management Package on the Router

You can configure the HTTP Content Management package on MX960, MX480, or MX240 routers. To configure the HTTP Content Management package on the router:

  1. Enable the juniper provider-id statement to enable Juniper’s extension application packages to be deployed and run on the router.

    [edit system]

    extensions {providers {juniper {license-type juniper deployment-scope commercial;}}}
  2. Before you install the HTTP Content Management package on the router, ensure that you have the appropriate version of the HTTP Content Management package for the Junos OS image you are using on the router. When you have confirmed that you have the right package, use the request system software add command to install the HTTP Content Management package. You would need to restart the CLI after the package is installed.
    user@router> request system software add http-manager-11.4R4.4-1-A1.1.tgzNOTICE: Validating configuration against package-name.NOTICE: Use the 'no-validate' option to skip this if desired.Checking compatibility with configuration
    Initializing...
    WARNING: cli has been replaced by an updated version:CLI release 11.4R4 built by builder on 2012-07-4 02:36:22 UTCRestart cli using the new version ? [yes,no] (yes)Restarting cli ...
  3. When the CLI has restarted, use the show version command to see whether the HTTP Content Management packages are installed.
    user@router> show version...HTTP-Manager Management Component [11.4R4.4-1-A1.1]HTTP-Manager Dataplane Component [11.4R4.4-1-A1.1]user@router>..
  4. If you want to upgrade the Junos OS image on a router that has the HTTP Content Management package installed, you should first save and then delete the HTTP Content Management configuration from the router.
    • To view the HTTP Content Management configuration, use the user@router>extension juniper-http-manager show <section> command.
    • To delete the HTTP Content Management configuration from the router, use the user@router>extension juniper-http-manager delete <section> command.
    • Any remnant HTTP Content Management configuration left on the router will be deleted when the Junos OS image is upgraded. So, ensure that you have saved all necessary HTTP Content Management configurations.
    • To delete the HTTP Content Management package from the router, use the user@router>> request system software delete <http-manager-package> command.
    • Reinstall the HTTP Content Management package on the router after you upgrade the Junos OS image on the router.
    root@aulavik> show versionHostname: aulavikModel: mx480JUNOS Base OS boot [11.4R4.4]JUNOS Base OS Software Suite [11.4R4.4]JUNOS Kernel Software Suite [11.4R4.4]JUNOS Crypto Software Suite [11.4R4.4]JUNOS Packet Forwarding Engine Support (M/T Common) [11.4R4.4]JUNOS Packet Forwarding Engine Support (MX Common) [11.4R4.4]JUNOS Online Documentation [11.4R4.4]JUNOS Voice Services Container package [11.4R4.4]JUNOS Border Gateway Function package [11.4R4.4]JUNOS Services AACL Container package [11.4R4.4]JUNOS Services LL-PDF Container package [11.4R4.4]JUNOS Services PTSP Container package [11.4R4.4]JUNOS Services Stateful Firewall [11.4R4.4]JUNOS Services NAT [11.4R4.4]JUNOS Services Application Level Gateways [11.4R4.4]JUNOS Services Captive Portal and Content Delivery Container package [11.4R4.4]JUNOS Services RPM [11.4R4.4]JUNOS Services HTTP Content Management package [11.4R4.4]JUNOS AppId Services [11.4R4.4]JUNOS IDP Services [11.4R4.4]JUNOS Services Crypto [11.4R4.4]JUNOS Services SSL [11.4R4.4]JUNOS Services IPSec [11.4R4.4]JUNOS Runtime Software Suite [11.4R4.4] JUNOS Routing Software Suite [11.4R4.4]HTTP-Manager Management Component [11.4R4.4-1-A1.1]HTTP-Manager Dataplane Component [11.4R4.4-1-A1.1]
    root@aulavik> configureEntering configuration mode
    [edit]root@aulavik# extension juniper-http-manager show## Last changed: 2012-06-07 13:21:36 PDTservices {http-manager {traceoptions {level all;flag all;}}}
    [edit]root@aulavik# extension juniper-http-manager delete
    [edit]root@aulavik# extension juniper-http-manager show
    [edit] root@aulavik# commitcommit complete
    [edit]root@aulavik# exitExiting configuration mode
    root@aulavik> request system software delete http-manager-servicesRemoving package http-manager-services' ... Removing /opt/sdk/service-packages/http-manager-services ...Removing http-manager-services-xlr-11.4R4.4-1-A1.1.tgz from /var/sw/pkg ...Notifying mspd ...
    root@aulavik> request system software delete http-manager-mgmtRemoving package http-manager-mgmt' ...Reloading /config/juniper.conf.gz ...Activating /config/juniper.conf.gz ...mgd: commit completeRestarting mgd ...Restarting http-manager ...
    WARNING: cli has been replaced by an updated version:CLI release 11.4R4.4 built by builder on 2012-05-14 19:51:45 UTCRestart cli using the new version ? [yes,no] (yes)
    Restarting cli ...root@aulavik>
    root@aulavik> show versionHostname: aulavikModel: mx480JUNOS Base OS boot [11.4R4.4]JUNOS Base OS Software Suite [11.4R4.4]JUNOS Kernel Software Suite [11.4R4.4]JUNOS Crypto Software Suite [11.4R4.4]JUNOS Packet Forwarding Engine Support (M/T Common) [11.4R4.4]JUNOS Packet Forwarding Engine Support (MX Common) [11.4R4.4]JUNOS Online Documentation [11.4R4.4]JUNOS Voice Services Container package [11.4R4.4]JUNOS Border Gateway Function package [11.4R4.4]JUNOS Services AACL Container package [11.4R4.4]JUNOS Services LL-PDF Container package [11.4R4.4]JUNOS Services PTSP Container package [11.4R4.4]JUNOS Services Stateful Firewall [11.4R4.4]JUNOS Services NAT [11.4R4.4]JUNOS Services Application Level Gateways [11.4R4.4]JUNOS Services Captive Portal and Content Delivery Container package [11.4R4.4]JUNOS Services RPM [11.4R4.4]JUNOS Services HTTP Content Management package [11.4R4.4]JUNOS AppId Services [11.4R4.4]JUNOS IDP Services [11.4R4.4]JUNOS Services Crypto [11.4R4.4]JUNOS Services SSL [11.4R4.4]JUNOS Services IPSec [11.4R4.4]JUNOS Runtime Software Suite [11.4R4.4]JUNOS Routing Software Suite [11.4R4.4]

Related Documentation