Configuration Guide Configuring Web Authentication
Optional.
Perform this configuration to allow unauthenticated clients to access network resources.
Verification
Configure the interval for updating online user information.
View the information of online users after the update interval has elapsed.
Related Commands
Configuring the Interval for Updating Online User Information
web-auth update-interval { seconds }
seconds: Indicates the interval for updating online user information, in the unit of seconds. The value ranges
from 30 to 3,600. The default value is 180s.
Global configuration mode
To restore the default updating interval, run the no web-auth update-interval command in global
configuration mode.
Configuration Example
Configuring the Interval for Updating Online User Information
Set the interval for updating online user information to 60s.
Ruijie (config)# web-auth update-interval 60
Check whether the configuration is successful.
Ruijie(config)#show run | include web-auth update-interval
web-auth update-interval 60
1.4.23 Configuring Portal Detection
Configuration Effect
Detect the availability of the active portal server periodically. When the active portal server is unavailable, the standby
portal server takes over the services.
Ruijie Second-Generation Web Authentication provides two detection methods. One is that the NAS constructs and
sends portal packets to the portal server. If the portal server returns response packets, the NAS determines that the
portal server is available. Another is the NAS sends ping packets to the portal server. If the portal server returns
response packets, the NAS determines that the portal server is available. Because some servers or intermediate
network segments filter ping packets, the first method is commonly used. The ping detection method is only used based
on special requirements. In Ruijie First-Generation Web Authentication, the NAS connects to a port of the portal server