Alcatel-Lucent 7710 SR OS Configuration Manual page 356

Router
Hide thumbs Also See for 7710 SR OS:
Table of Contents

Advertisement

Configuring the HTTP-Redirect Option
If http-redirect is specified as an action, a corresponding forward entry must be specified before the
redirect.
The following displays an http-redirect configuration example:
A:ALA-48>config>filter>ip-filter# info
----------------------------------------------
AP&ip=$IP&orig_url=$URL"
----------------------------------------------
A:ALA-48>config>filter>ip-filter#
Page 356
description "filter-main"
scope exclusive
entry 10 create
description "no-91"
match
dst-ip 10.10.10.91/24
src-ip 10.10.0.100/24
exit
no action
exit
entry 20 create
match protocol tcp
dst-ip 100.0.0.2/32
dst-port eq 80
exit
action forward
exit
entry 30 create
match protocol tcp
dst-ip 10.10.10.91/24
dst-port eq 80
exit
action http-redirect "http://100.0.0.2/login.cgi?mac=$MAC$sap=$S
exit
7710 SR OS Router Configuration Guide

Advertisement

Table of Contents
loading

Table of Contents