306
Specifying an autoredirection URL for
authenticated portal users
If you specify an autoredirection URL on the access device, after an unauthenticated user passes
portal authentication through the portal authentication page, the access device redirects the user to
the URL after a specific period of time.
When no autoredirection URL is specified for authenticated portal users, an authenticated user is
usually redirected to the URL the user entered in the address bar before portal authentication.
However, with 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:
Step 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:
Step 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.