R0106-HP MSR Router Series Security Command Reference(V7)
182
[Sysname-portal-server-pts] server-detect timeout 600 log trap
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 | trap } *
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 | trap } *: Specifies the action to be taken after the device detects reachability status change of the
portal Web server. You can select one of the following options or both:
• log—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.
• trap—When reachability status of the portal Web server changes, the device sends a trap message
to the NMS. The trap message contains the name 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 and a trap massage after server reachability status
changes.
<Sysname> system-view
[Sysname] portal web-server wbs










