Configuration Guide Configuring Web Authentication
Configuration Steps
(Optional) By default, a user is forced to go offline if there is no traffic of the user within 15 minutes.
If flow is set to 0, traffic detection is not performed.
By default, traffic detection under WLANSEC is disabled in 10.X version and the global configuration is used. After the
version is upgraded to 11.X, traffic detection under WLANSEC needs to be manually disabled.
Verification
After online user detection is configured, enable a user to go online, shut down the specified authenticated terminal, and
wait for the specified interval to elapse. Then, run the show web user command on the device to check that the user has
gone offline.
Related Commands
Configuring User Detection Under WLANSEC
web-auth offline-detect interval interval flow thredshold
no web-auth offline-detect
default web-auth offline-detect
interval: Indicates the offline detection interval. The value ranges from 1 min to 65535 min. The default value
is 15 min.
thredshold: Indicates the traffic threshold. The value ranges from to 0 bytes to 4294967294 bytes. The
default value is 0, indicating that traffic detection is not performed.
no web-auth offline-detect: Disables online user detection.
default web-auth offline-detect: Restore the default value. That is, authenticated online users are forced to
go offline if their traffic is zero within 15 min.
WLANSEC configuration mode
This command can be used to configure the online keepalive time for users. Authenticated online users are
forced to go offline if their traffic is lower than the specified threshold within a specified interval.
Configuration Example
Configuring User Detection Under WLANSEC
Set user detection under WLANSEC 1.
Ruijie(config)#wlansec 1
Ruijie(config-wlansec)#web-auth offline-detect interval 30 flow 10000