139
•
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
"
Configuring the portal fail-permit feature
."
To configure portal Web server detection:
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 portal Web server
detection.
server-detect
[
interval
interval
]
[
retry
retries
] {
log
|
trap
} *
By default, portal Web server
detection is disabled.
This feature 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 feature. This feature 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.
Portal user synchronization 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 feature, 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 portal user information synchronization:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter portal
authentication
server view.
portal server server-name
N/A
3.
Configure portal
user
synchronization.
user-sync timeout timeout
By default, portal user
synchronization is disabled.