Use the following CLI syntax to configure an HTTPS redirect policy:
config>app-assure>group# http-redirect redirect-name [create]
description <description-string>
no description
[no] redirect-https
redirect-url <redirect-url>
no redirect-url
[no] shutdown
[no] tcp-client-reset
template <template-id>
no template
no http-redirect <redirect-name>
The following example displays the configuration of an HTTPS redirect object to redirect traffic to the operator's portal:
A:ALA-1>config>app-assure>group# http-redirect "https-redirect-portal" create
description "simple https redirect policy"
redirect-url https://www.portal.com/info.html
redirect-https
no shutdown
After creating the HTTP Redirect object, an AQP is used to configure the traffic to be redirected:
A:ALA-1>config>app-assure>group>policy>aqp>entry#
--------------------------------------------------------------
entry 100 create
match
application eq BlockedHTTPS_page
exit
action
drop
http-redirect https-redirect-portal flow-type dropped-flows
exit
no shutdown
exit
--------------------------------------------------------------