Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
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:
- From configuration mode, enter the HTTP redirect action
configuration.[edit] user@host# edit policies group http list http-list rule redirect http-redirect
- Specify the destination URL to which traffic will be redirected.
For example, to redirect the traffic to www.new.com:[edit policies group http list http-list rule redirect http-redirect] user@host# subscriber-url "\"http://www.new.com\""