Portal Redirect-Url - HP 3600 v2 Series Command Reference Manual

Hide thumbs Also See for 3600 v2 Series:
Table of Contents

Advertisement

Examples
# Set the online Layer 2 portal user detection interval to 3600 seconds on port Ethernet 1/0/1.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] portal offline-detect interval 3600

portal redirect-url

Syntax
portal redirect-url url-string [ wait-time period ]
undo portal redirect-url
View
System view
Default level
2: System level
Parameters
url-string: Specifies an auto redirection URL for authenticated portal users, a string of 1 to 127 characters.
It must start with http:// or https:// and must be a fully qualified URL.
wait-time period: Specifies the time that the device must wait before redirecting a user passing portal
authentication to the auto redirection URL. It ranges from 1 to 90 and defaults to 5, in seconds.
Description
Use the portal redirect-url command to specify the auto redirection URL for authenticated portal users.
Use the undo portal redirect-url command to restore the default.
By default, a user authenticated is redirected to the URL the user typed in the address bar before portal
authentication.
With Layer 3 portal authentication, this feature requires the cooperation of the iMC server and the iMC
must support the page auto-redirection function.
The wait-time period option is effective to only local portal authentication.
If a Layer 2 portal user is to be assigned a VLAN after passing portal authentication, the user may need
to update the IP address after getting online. In this case, the redirection wait time must be longer than
the user IP address update time. Otherwise, the user may not be able to open the URL because the
expected IP address update is not complete yet.
Examples
# Configure the device to redirect a portal user to http://www.testpt.cn 3 seconds after the user passes
portal authentication.
<Sysname> system-view
[Sysname] portal redirect-url http://www.testpt.cn wait-time 3
159

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents