< Home

sta-offline-delay enable

Function

The sta-offline-delay enable command enables the STA offline delay function.

The undo sta-offline-delay enable command disables the STA offline delay function.

By default, the STA offline delay function is disabled.

Format

sta-offline-delay enable

undo sta-offline-delay enable

Parameters

None

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Precautions

The STA offline delay function is implemented for new access and Layer 2 roaming STAs. When a STA reassociates with a WLAN within the aging time, the STA offline delay function is implemented only in the following scenarios:
  • Non-roaming scenarios. That is, the STA goes online again on the same VAP.
  • Intra-AC Layer 2 roaming in direct forwarding mode, intra-AC Layer 3 roaming in direct forwarding mode (with the tunnel endpoint on the AC), or intra-AC Layer 2/3 roaming in tunnel forwarding mode.
  • Inter-AC Layer 2 roaming in direct or tunnel forwarding mode.

The STA offline delay function and online STA detection on the external Portal server are mutually exclusive.

Example

# Enable the STA offline delay function.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] sta-offline-delay enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >