H3C Technologies H3C SecPath F1000-E User Manual
Page 16

15
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the portal
server detection function
portal server server-name
server-detect method { http |
portal-heartbeat } * action { log |
permit-all | trap } * [ interval
interval ] [ retry retries ]
Required
Not configured by default.
The portal server specified in the
command must exist.
NOTE:
The portal heartbeat detection method works only when the portal server supports the portal server
heartbeat function. Currently, only the portal server of iMC supports this function. To implement detection
with this method, you also need to configure the portal server heartbeat function on the iMC portal server
and make sure that the product of interval and retry is greater than or equal to the portal server heartbeat
interval. You are recommended to configure the interval to be greater than the portal server heartbeat
interval configured on the portal server.
Configuring Portal User Information Synchronization
Once the device loses communication with a portal server, the portal user information on the device and
that on the portal server may be inconsistent after the communication resumes. To solve this problem, the
device provides the portal user information synchronization function. This function is implemented by
sending and detecting the portal synchronization packet. The process is as follows:
1.
The portal server sends the online user information to the access device in a user synchronization
packet at the user heartbeat interval, which is set on the portal server.
2.
Upon receiving the user synchronization packet, the access device checks the user information
carried in the packet with its own. If the device finds a nonexistent user in the packet, it informs the
portal server of the information and the portal server will delete the user; if the device finds that one
of its users does not appear in the user synchronization packets within N consecutive
synchronization probe intervals (N is equal to the value of retries configured in the portal server
user-sync command), it considers that the user does not exist on the portal server and logs the
user off.
Follow these steps to configure the portal user information synchronization function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the portal user
information
synchronization function
portal server server-name user-sync
[ interval interval ] [ retry retries ]
Required
Not configured by default.
The portal server specified in the
command must exist. This function
can take effect only when the
specified portal server is referenced
on the interface connecting the
users.