Configuring portal user synchronization – H3C Technologies H3C S6300 Series Switches User Manual
Page 119
104
•
Sending a log message, which contains the name, the current state, and the original state of the
portal Web server.
•
Enabling portal fail-permit. When the portal Web server is unreachable, the portal fail-permit
feature on an interface allows users on the interface to have network access. When the server
recovers, it resumes portal authentication on the interface. For more information, see "
the portal fail-permit function
To configure the portal Web server detection function:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter portal Web
server view.
portal web-server server-name
N/A
3.
Configure the portal
Web server detection
function.
server-detect [ interval interval ] [ retry
retries ] log
By default, portal Web server
detection is disabled.
This function takes effect regardless
of whether portal authentication is
enabled on an interface or not.
Configuring portal user synchronization
Once the access device loses communication with a portal authentication server, the portal user
information on the access device and that on the portal authentication server might be inconsistent after
the communication resumes. To address this problem, the device provides the portal user synchronization
function. This function is implemented by sending and detecting portal synchronization packets, as
follows:
1.
The portal authentication server sends the online user information to the access device in a
synchronization packet at the user heartbeat interval, which is set on the portal authentication
server.
2.
Upon receiving the synchronization packet, the access device compares the users carried in the
packet with its own user list. If a user contained in the packet does not exist on the access device,
the access device informs the portal authentication server to delete the user. The access device
starts the synchronization detection timer (timeout timeout) immediately when a user logs in. If the
user does not appear in any synchronization packet within a synchronization detection interval,
the access device considers the user does not exist on the portal authentication server and logs the
user out.
The user synchronization function requires a portal authentication server to support the portal user
heartbeat function. Only the IMC portal authentication server supports the portal user heartbeat function.
To implement the portal user synchronization function, you also need to configure the user heartbeat
function on the portal authentication server. Make sure the user heartbeat interval configured on the
portal authentication server is not greater than the synchronization detection timeout configured on the
access device.
Deleting a portal authentication server on the access device also deletes the user synchronization
configuration for the portal authentication server.
To configure the portal user information synchronization function: