R3303-HP HSR6800 Routers Security Command Reference

177
Deleting a portal server on the device will delete the detection function for the portal server.
If you configure the detection function for a portal server for multiple times, the last configuration takes
effect. If you do not specify an optional parameter, the default setting of the parameter is used.
The portal server detection function takes effect only when the portal server is referenced on an interface.
Authentication-related packets from a portal server, such as logon requests and logoff requests, have the
same effect as the portal heartbeat packets for the portal server detection function.
Related command: display portal server.
Examples
# Configure the device to detect portal server pts:
Specifying both the HTTP probe and portal heartbeat probe methods
Setting the probe interval to 600 seconds
Specifying 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
Use portal server user-sync to configure portal user information synchronization with a specific portal
server. When this function is 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 undo portal server user-sync to cancel the portal user information synchronization configuration with
the specified portal server.
Syntax
portal server server-name user-sync [ interval interval ] [ retry retries ]
undo portal server server-name user-sync
Default
The portal user synchronization function is not configured.
Views
System view
Default command level
2: System level
Parameters
server-name: 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.