Portal Redirect-Url - HP 5120 SI series Command Reference Manual

Hide thumbs Also See for 5120 SI series:
Table of Contents

Advertisement

This detection interval must be equal to or less than the MAC address entry aging time. Otherwise, many
portal users are considered offline due to aged MAC address entries.
Examples
# Set the online Layer 2 portal user detection interval to 3600 seconds on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/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: 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.
period: 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
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents