123
NOTE:
The
wait-time
period
keyword and argument combination is effective to only local portal authentication.
Configuring portal detection functions
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
—
Set the Layer 2 portal user
detection interval
portal offline-detect interval
o
ffline-detect-interval
Required
300 seconds by default
Logging off portal users
Logging off a user terminates the authentication process for the user or removes the user from the
authenticated users list.
Follow these steps to log off users:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Log off users
portal
delete-user
{
ip-address
|
all
|
interface
interface-type
interface-number
}
Required
Displaying and maintaining portal
To do…
Use the command…
Remarks
Display information about a
portal-free rule or all portal-free
rules
display portal free-rule
[
rule-number
] [
|
{
begin
|
exclude
|
include
}
regular-
expression
]
Available in any view
Display the portal configuration of
a specified interface
display portal interface
interface-type
interface-number
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display configuration information
about the local portal server
display portal local-server
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view