R2511-HP MSR Router Series Security Configuration Guide(V5)
312
local portal authentication, if the URL a user entered in the address bar before portal authentication is
more than 255 characters, the user cannot be redirected to the page of the URL after passing portal
authentication.
To use this feature for remote Layer 3 portal authentication, the portal server must be an IMC portal server
that supports the page auto-redirection function.
To specify an autoredirection URL for authenticated portal users:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Specify an autoredirection
URL for authenticated portal
users.
portal redirect-url url-string
[ wait-time period ]
By default, an authenticated user is
redirected to the URL the user typed
in the address bar before portal
authentication.
The wait-time period option is
effective for only local portal
authentication.
Configuring portal detection functions
Configuring online Layer 2 portal user detection
Only Layer 2 portal authentication supports this feature.
After a Layer 2 portal user gets online, the device starts a detection timer for the user, and checks whether
the user's MAC address entry has been aged out or the user's MAC address entry has been matched (a
match means a packet has been received from the user) at the interval. If the device finds no MAC
address entry for the user or receives no packets from the user during two successive detection intervals,
the device considers that the user has gone offline and clears the authentication information of the user.
To set the Layer 2 portal user detection interval:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Set the Layer 2 portal user
detection interval.
portal offline-detect interval
offline-detect-interval
300 seconds by default.
Configuring online Layer 3 portal user detection
This feature is available only for the direct and re-DHCP portal authentication configured on a Layer 3
interface.
With online portal user detection enabled on an interface, the device periodically sends probe packets
(ARP requests) to the portal users on the interface to check whether the portal users are still online, to find
portal users who get offline without logging off.










