184
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
[Sysname-portal-websvr-wbs] server-detect interval 600 retry 2 log trap
Related commands
portal web-server
url
Use url to configure a URL for a portal Web server.
Use undo url to delete the URL for the portal Web server.
Syntax
url url-string
undo url
Default
No URL is specified for the portal Web server.
Views
Portal Web server view