137
To configure the portal server detection function:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
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. Only the iMC portal server supports this function. To implement detection with this
method, you must also 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. HP recommends that you configure the
interval
to be greater than the portal server heartbeat
interval configured on the portal server.
Configuring portal user information synchronization
Only Layer 3 portal authentication supports this feature.
Once the access device loses communication with a portal server, the portal user information on the
access device and that on the portal server may be inconsistent after the communication resumes. To
solve this problem, the access 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 access device finds a nonexistent user in the packet, it
informs the portal server of the information, and the portal server deletes the user. If the access
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
portal
server user-sync
), it considers that the user does not exist on the portal server, and it logs the user
off.
To configure the portal user information synchronization function:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
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.