< Home

user-sync (authentication access device)

Function

The user-sync command enables the user synchronization function on an authentication access device.

The undo user-sync command disables the user synchronization function on an authentication access device.

By default, user synchronization is enabled on an authentication access device and the synchronization interval is 60 seconds.

Format

user-sync interval interval-value

undo user-sync

Parameters

Parameter

Description

Value

interval interval-value

Specifies the user synchronization interval.

The value is an integer that ranges from 60 to 3600, in seconds. The default value is 60.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a user is disconnected from an authentication access device due to online detection or a failure to send a disconnection request message, the user information on the authentication control device and authentication access device cannot be synchronized.

After the user synchronization interval is reached, the authentication access device sends a synchronization message containing MAC addresses of all online users to the authentication control device. After receiving the synchronization message, the authentication control device responds with a synchronization failure message if it finds that some users are offline. The authentication access device forcibly disconnects the corresponding users according to the synchronization failure message.

Precautions

This command is supported only on authentication access devices.

The user synchronization function needs to be enabled on both authentication access devices and authentication control devices to ensure that the function works properly. In addition, the user synchronization interval configured on authentication access devices must be shorter than or equal to that configured on authentication control devices, preventing users from being disconnected due to incorrect synchronization.

The user synchronization function of authentication access devices depends on whether the control tunnel is available. When the control tunnel is faulty, the user synchronization function becomes abnormal.

Example

# Set the user synchronization interval to 100 seconds.

<HUAWEI> system-view
[HUAWEI] user-sync interval 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >