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:
- [edit]
- user@host# edit policies group http list http-list
rule redirect http-redirect residential-portal
- [edit policies group http list http-list rule redirect
http-redirect residential-portal]
- user@host# subscriber-url "\"http://www.new.com\""