152
Specifying an auto redirection URL for
authenticated portal users
After a user passes portal authentication, if the access device is configured with an auto redirection URL,
it redirects the user to the URL after a specified period of time.
Follow these steps to specify an auto redirection URL for authenticated portal users:
To do… Use the command…
Remarks
Enter system view system-view —
Specify an auto redirection URL
for authenticated portal users
portal redirect-url url-string [ wait-time
period ]
Required
By default, an authenticated
user is redirected to the URL
the user typed in the address
bar before portal
authentication.
NOTE:
• To use this feature for remote Layer 3 portal authentication, the portal server must be the iMC portal
server and the iMC portal server must support the page auto-redirection function.
• The wait-time
period
option is effective to only local portal authentication.
• When no auto redirection URL is specified for authenticated portal users, an authenticated user is
usually redirected to the URL the user typed in the address bar before portal authentication. However,
with local portal authentication, if the URL a user typed in the address bar before portal authentication
is more than 255 characters, the user cannot be redirected to the pa
e of the URL after passin
portal
authentication.
Configuring portal detection functions
Configuring online Layer 2 portal user detection
NOTE:
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.
Follow these steps to set the Layer 2 portal user detection interval:
To do… Use the command…
Remarks
Enter system view system-view —
Enter interface view
interface interface-type
interface-number
—