HP MSR2000/3000/4000 Router Series Security Command Reference

448
Examples
# Enable server detection for portal authentication server pts:
Set the detection timeout to 600 seconds
Configure the device to send a log message if the server reachability status changes.
<Sysname> system-view
[Sysname] portal server pts
[Sysname-portal-server-pts] server-detect timeout 600 log
Related commands
portal server
server-detect (portal Web server view)
Use server-detect to enable portal Web server detection.
Use undo server-detect to restore the default.
Syntax
server-detect [ interval interval ] [ retry retries ] log
undo server-detect
Default
Portal Web server detection is disabled.
Views
Portal Web server view
Predefined user roles
network-admin
Parameters
interval interval: Specifies a detection interval in the range of 10 to 1200 seconds. The default is 20
seconds.
retry retries: Specifies the maximum number of consecutive detection failures, in the range of 1 to 10. The
default is 3. If the number of consecutive failed detections reaches this threshold, the device considers the
server as unreachable.
log: Specifies the action to be taken after the device detects reachability status change of the portal Web
server. When reachability status of the portal Web server changes, the device sends a log message. The
log message contains the name, the original state, and the current state of the portal Web server.
Usage guidelines
The access device performs server detection independently. No configuration on the portal Web server
is required for the detection.
Examples
# Enable server detection for portal Web server wbs:
Set the detection interval to 600 seconds.
Set the maximum number of consecutive detection failures to 2.
Configure the device to send a log message after server reachability status changes.