[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring HTTP Redirect Actions
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 name {
- 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. For example, to name the HTTP redirect action residential-portal:
- [edit]
- user@host# edit policies group http list http-list
rule redirect http-redirect residential-portal
- 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 residential-portal]
- user@host# subscriber-url "\"http://www.new.com\""
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]