Configuring HTTP Redirect Actions (SRC CLI)

Use the following statements to configure policy actions to redirect Web traffic to a specified URL.

policies group name list name rule name http-redirect {subscriber-url "\"http:// URL \""; description description ; }

The type of action that you can create depends on the type of policy rule. See Policy Information Model.

To configure an HTTP redirect action in a policy rule to specify that Web traffic be sent to a specified URL:

  1. From configuration mode, enter the HTTP redirect action configuration.
    [edit] user@host# edit policies group http list http-list rule redirect http-redirect
  2. Specify the destination URL to which traffic will be redirected. For example, to redirect the traffic to
    [edit policies group http list http-list rule redirect http-redirect] user@host# subscriber-url "\"\""

Related Documentation