Configuring HTTP Content Management Service Sets

Before you start configuring HTTP Content Management service sets, ensure that you have configured the rules and rule sets that you want to include in the service sets. See Configuring HTTP Tagging, Configuring HTTP Error-redirect, and Configuring HTTP URL Filtering and Logging for more information about how to configure rule sets.

To configure HTTP Content Management service sets:

  1. Configure the service-set statement at the services hierarchy level to specify a name for the service set.
  2. Configure the extension-service http-manager statement and specify the HCM tag rules and rule sets.

    You should specify at least one tag rule and one tag rule set for the configuration to be valid; otherwise, the configuration is rejected. You cannot specify error-redirect or URL filtering rules and rule sets in this statement.

  3. Configure the extension-service http-packet-manager statement and specify the HCM error-redirect rules, rule sets, and HCM URL filtering rules and rule sets.

    You should specify at least one error-redirect rule, one error-redirect rule set, one URL filtering rule , and one URL filtering rule set for the configuration to be valid; otherwise, the configuration is rejected. You cannot specify HCM tag rules and rule sets in this statement.

  4. Configure the service-order statement to specify the order in which the service set is used for HTTP Content Management for both forward and reverse flows.

Configuring HTTP Content Management Service Sets

services {service-set http-manager-all-in-one {interface-service {service-interface ms-5/1/0;}extension-service http-manager {hcm-tag-rules tag-sub-id-radius;}extension-service http-packet-manager {hcm-redirect-rules redirect404;hcm-url-rules logAll;}service-order {forward-flow [ junos-ptsp http-manager http-packet-manager ];reverse-flow [ junos-ptsp http-manager http-packet-manager ];}}}

Related Documentation