< Home

user-detect

Function

The user-detect command enables the online user detection function on an authentication access device.

The undo user-detect command disables the online user detection function on an authentication access device.

By default, the online user detection function is enabled on an authentication access device, the detection interval is 15 seconds, and the number of packet retransmission attempts is 3.

Format

user-detect { interval interval-value | retry retry-value } *

undo user-detect

Parameters

Parameter

Description

Value

interval interval-value

Specifies the detection interval.

The value is an integer that ranges from 1 to 65535, in seconds. The default value is 15.

retry retry-value

Specifies the number of packet retransmission attempts.

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a user goes offline due to a power failure or network interruption, the authentication access device and authentication control device may still store information about this user, which results in a heavy load on the authentication control device. In addition, a limited number of users can access the device. If a user goes offline unexpectedly but the device still stores information of this user, other users cannot access the network.

After the detection interval is set, the device considers a user to be offline if the user does not respond within the interval. Then the authentication access device and authentication control device delete the saved information about the user, ensuring effective resource usage.

Precautions

This command is supported only on authentication access devices.

You are advised to keep this function enabled on authentication access devices.

This function takes effect only for users who go online after it is configured.

Example

# Enable online user detection in the system view, and set the detection interval to 10 seconds and number of packet retransmission attempts to 5.

<HUAWEI> system-view
[HUAWEI] user-detect interval 10 retry 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >