Configuring an HTTP redirect policy

Use the following CLI syntax to configure an HTTP redirect policy:

config>app-assure>group# http-redirect redirect-name [create]
        description <description-string>
        no description
        [no] redirect-https
        [no] template <template-id>
        redirect-url URL // redirect URL e.g. www.isp.com/redirect.html
        no redirect-url
        [no] shutdown
        [no] tcp-client-reset
    no http-redirect <redirect-name>

The following example displays an AA HTTP redirect configuration:

*A:ALA-48>config>app-assure>group# http-redirect "redirect1" create
   description ‟redirect policy for blocked http content traffic without url 
parameters”
   template 3
   redirect-url http://www.isp.com/redirect.html
   no shutdown

The following example displays an Application Assurance http-redirect configuration using macro substitution to append url parameters within the redirect url:

*A:ALA-48>config>app-assure>group# http-redirect "redirect2" create
   description "redirect policy for blocked http content traffic with url parameters"
   template 5
   redirect-url "http://www.isp.com/
redirect.html?requestedurl=$URL&subscriberid=$SUB&subscriberip=$IP&routerid=$RTRI
D&vsa=$URLPRM"
   no shutdown

The following example displays AQP entry to block all http gaming traffic (AppGroup BlockedContent) and perform redirect:

A:ALA-48>config>app-assure>group>policy>aqp>entry#
------------------------------------------------------------------------------- 
    entry 100 create
        match
            app-group eq BlockedContent
        exit 
        action
            drop
            http-redirect redirectgaming flow-type dropped-flows
        exit
    no shutdown 
    exit
------------------------------------------------------------------------------- 
A:ALA-48>config>app-assure>group>policy>aqp#