< Home

(Optional) Configuring the STA Offline Delay Function

Context

On a WLAN, some online STAs may go offline due to reasons such as screen lock. When these STAs go online again, they are reauthenticated, increasing the load on the authentication server. After the STA offline delay function is enabled, if a STA goes offline normally and online again within the aging time, it does not need to be authenticated by an external or built-in authentication server. This reduces the load on the authentication server and avoids multiple authentication operations. This function takes effect for STAs only in Portal, MAC address, or MAC address-prioritized Portal authentication mode.

After the STA offline delay function is enabled, if a STA goes offline normally and online again within the aging time, no authentication is needed. This may bring security risks. Exercise caution when configuring this function.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run sta-offline-delay enable

    The STA offline delay function is enabled.

    By default, the STA offline delay function is disabled.

  4. Run sta-offline-delay max-number max-number

    The maximum number of STAs that are allowed to delay going offline is set.

    The default maximum number of STAs that are allowed to delay going offline is one fifth of the maximum number of STAs supported by an AC.

  5. Run sta-offline-delay aging-time time

    The aging time of the STA offline delay state is configured.

    The default aging time for STA offline delay is 180 seconds.

  6. Run undo sta-offline-delay full-sta-reject enable

    APs are enabled to force STAs in offline delay state to go offline and allow STAs are allowed to go online after the number of STAs reaches the maximum.

    By default, an AP is enabled to force STAs in offline delay state to go offline and allow new STAs to go online after the number of STAs reaches the maximum.

Verifying the Configuration

  • Run the display sta-offline-delay configuration command to view the configuration of the STA offline delay function.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >