159
Related command: display portal server.
Examples
# Configure the device to detect portal server pts, and
ï‚· Specify both the HTTP probe and portal heartbeat probe methods
ï‚· Set the probe interval to 600 seconds
ï‚· Specify the device to send a server unreachable trap message, send a log message and disable
portal authentication to permit unauthenticated portal users, if two consecutive probes fail.
<Sysname> system-view
[Sysname] portal server pts server-detect method http portal-heartbeat action log permit-
all trap interval 600 retry 2
portal server user-sync (available only on the A5500 EI)
Syntax
portal server server-name user-sync [ interval interval ] [ retry retries ]
undo portal server server-name user-sync
View
System view
Default level
2: System level
Parameters
server-name: Specifies the name of a portal server, a case-sensitive string of 1 to 32 characters. The
specified portal server must have existed.
user-sync: Enables the portal user synchronization function.
interval interval: Specifies the interval at which the device checks the user synchronization packets. The
interval argument ranges from 60 to 3600 and defaults to 300, in seconds.
retry retries: Specifies the maximum number of consecutive failed checks. The retries argument ranges
from 1 to 5 and defaults to 4. If the access device finds that one of its users does not exist in the user
synchronization packets from the portal server within N consecutive probe intervals (N = retries), it
considers that the user does not exist on the portal server and logs the user off.
Description
Use the portal server user-sync command to configure portal user information synchronization with a
specified portal server. With this function configured, the device periodically checks and responds to the
user synchronization packet received from the specified portal server, so as to keep the consistency of the
online user information on the device and the portal server.
Use the undo portal server user-sync command to cancel the portal user information synchronization
configuration with the specified portal server.
By default, the portal user synchronization function is not configured.
The user information synchronization function requires that a portal server supports the portal user
heartbeat function (currently only the iMC portal server supports portal user heartbeat). To implement the
portal user synchronization function, you also need to configure the user heartbeat function on the portal