EasyManua.ls Logo

H3C MSR Series

H3C MSR Series
1187 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
399
userip=%cIP address of the user.
usermac=%mMAC address of the user.
nasid=%nNAS identifier of the device.
ssid=%ESSID with which the user associates.
originalurl=%oOriginal URL that the user enters in the browser.
Make sure the arrangement of the parameters conforms to the format of
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

Table of Contents

Other manuals for H3C MSR Series

Related product manuals