No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
server-detect

server-detect

Function

The server-detect command enables the Portal server detection function.

The undo server-detect command disables the Portal server detection function.

By default, the Portal server detection function is disabled.

Format

server-detect [ interval interval-period | max-times times | critical-num critical-num | action { log | trap } * ] *

undo server-detect [ interval | max-times | critical-num | action { log | trap } * ]

Parameters

Parameter

Description

Value

interval interval-period

Specifies the detection interval of the Portal server.

The value is an integer that ranges from 30 to 65535, in seconds.

The default value is 60.

max-times times

Specifies the maximum number of times that the detection fails.

The value is an integer that ranges from 1 to 255.

The default value is 3.

critical-num critical-num

Specifies the minimum number of Portal servers in Up state.

The value is an integer that ranges from 0 to 32.

The default value is 0.

The default value is recommended.

action

Specifies the action to be taken after the number of detection failures exceeds the maximum.

-

log

Indicates that the device sends a log after the number of detection failures exceeds the maximum.

-

trap

Indicates that the device sends a trap after the number of detection failures exceeds the maximum.

-

Views

Portal server profile view

Default Level

2: Configuration level

Usage Guidelines

If the communication is interrupted because the network between the device and Portal server is faulty or the Portal server is faulty, new Portal authentication users cannot go online. This brings great inconvenience to users.

After the Portal server detection function is enabled in the Portal server profile, the device detects all Portal servers configured in the Portal server profile. If the number of times that the device fails to detect a Portal server exceeds the upper limit, the status of the Portal server is changed from Up to Down. If the number of Portal servers in Up state is less than or equal to the minimum number (specified by the critical-num parameter), the device performs the corresponding operation to allow the administrator to obtain the real-time Portal server status or ensure that the users have certain network access rights.

The detection interval of the Portal server multiplied by the maximum number of detection failures cannot be less than the keepalive heartbeat interval of the Portal server. It is recommended that the configured detection interval of the Portal server be greater than the keepalive heartbeat interval of the Portal server.

Example

# Enable the Portal server detection and keepalive function in the Portal server profile abc, set the detection interval to 100s, set the maximum number of failures to 5, and specify the log sent after the number of failures exceeds the limit.

<Huawei> system-view
[Huawei] web-auth-server abc
[Huawei-web-auth-server-abc] server-detect interval 100 max-times 5 action log
Related Topics
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205615

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next