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


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


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).



The user-sync command enables Portal authentication user information synchronization.

The undo user-sync command disables Portal authentication user information synchronization.

By default, Portal authentication user information synchronization is disabled.


user-sync [ interval interval-period | max-times times ] *

undo user-sync


Parameter Description Value
interval interval-period

Specifies the user information synchronization interval.

The value is an integer that ranges from 30 to 65535, in seconds. The default value is 300.
max-times times

Specifies the maximum number of user information synchronization failures.

The value is an integer that ranges from 2 to 255. The default value is 3.


Portal server profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If communication is interrupted because the network between the device and Portal server is disconnected or the Portal server is faulty, online Portal authentication users cannot go offline. Therefore, user information on the device and on the Portal server may be inconsistent and accounting may be inaccurate.

The user-sync command enables user information synchronization so that user information on the device and Portal server is synchronized at intervals to ensure user information consistency.

During information synchronization, the device does not disconnect the user immediately after detecting that the device has certain user information while the server does not have such information. Instead, the device disconnects the user when the maximum number of user information synchronization failures is reached.


If users go online during the keepalive interval of the Portal server, the Portal server does not have their entries. After the Portal server goes Up and starts synchronizing user information, the device does not disconnect these users even if synchronization fails. The device retails these users until next time these users go online and performs Portal authentication, ensuring good user experience.

The value of interval-period*times configured on the device must be greater than the interval for the Portal server to send synchronization packets. Otherwise, the device may force users offline when it cannot receive any synchronization packet from the Portal server after the maximum failure number is reached.


# Enable user information synchronization in the Portal server profile abc, set the interval for user information synchronization to 100s, and set the maximum number of synchronization failures to 5.

<Huawei> system-view
[Huawei] web-auth-server abc
[Huawei-web-auth-server-abc] user-sync interval 100 max-times 5
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202397

Downloads: 122

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