< Home

deauth-fail-times

Function

The deauth-fail-times command sets the maximum number of attempts to steer STAs in deauthentication mode.

The undo deauth-fail-times command restores the default maximum number of attempts to steer STAs in deauthentication mode.

By default, the maximum number of attempts to steer STAs in deauthentication mode is 2.

Format

deauth-fail-times deauth-fail-times

undo deauth-fail-times

Parameters

Parameter

Description

Value

deauth-fail-times

Specifies the maximum number of attempts to steer STAs in deauthentication mode.

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

The value 0 indicates that the deauthentication mode is not used to steer STAs.

Views

Static load balancing group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The device attempts to use the 802.11v and deauthentication modes to trigger STA steering to the target AP. Due to differences of STAs, some STAs can be successfully steered in deauthentication mode after multiple attempts. You can run the deauth-fail-times command to set the maximum number of attempts to steer STAs in deauthentication mode. If the number of attempts exceeds the specified value, STAs cannot be steered.

Precautions

You are advised to retain the default value. If the success rate of STA steering in deauthentication mode is low or STA services are affected, set the parameter value to 0 to disable STA steering in deauthentication mode.

Example

# Set the maximum number of attempts to steer STAs in deauthentication mode to 1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] sta-load-balance static-group name coco
[HUAWEI-wlan-sta-lb-static-coco] deauth-fail-times 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >