H3C MSR Series Command Reference Manual page 422

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

userip=%c—IP address of the user.
usermac=%m—MAC address of the user.
nasid=%n—NAS identifier of the device.
ssid=%E—SSID with which the user associates.
originalurl=%o—Original URL that the user enters in the browser.
Make
sure
http://XXXX/index.html?userip=%c&usermac=%m&nasid=%n&ssid=%E&originalurl=%o.
Web redirect does not work when both Web redirect and portal authentication are enabled.
On a service template, both Web redirect and portal authentication can be enabled and will take
effect at the same time.
The Web redirect feature takes effect only on HTTP packets that use the default port number 80.
Examples
# Configure IPv4 Web redirect on GigabitEthernet 1/0/1. Set the redirect URL to http://192.0.0.1 and
the interval to 3600 seconds. (Wired application.)
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] web-redirect url http://192.0.0.1
/index.html?userip=%c&usermac=%m&nasid=%n&ssid=%E&originalurl=%o interval 3600
# Configure IPv4 Web redirect on service template service1. Set the redirect URL to http://192.0.0.1
and the interval to 3600 seconds. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] web-redirect url
http://192.0.0.1/index.html?userip=%c&usermac=%m&nasid=%n&ssid=%E&originalurl=%o
interval 3600
Related commands
display web-redirect rule
the
arrangement
of
the
parameters
399
conforms
to
the
format
of

Advertisement

Table of Contents
loading

Table of Contents