< Home

Configuring a STA Whitelist Profile

Context

A STA whitelist profile contains MAC addresses of STAs allowed to connect to the WLAN. To allow only some STAs to connect to the WLAN, configure a STA whitelist profile and apply the STA whitelist profile to an AP system profile or a VAP profile.

The effective scope of the STA whitelist profile differs according to the profiles to which it is applied.
  • AP system profile: The STA whitelist profile takes effect based on the AP. APs using the AP system profile will use the STA whitelist. The STA whitelist profile takes effect on all STAs connected to the APs (all VAPs).
  • VAP profile: The STA whitelist profile takes effect based on the VAP. If the STA whitelist profile is applied to an AP, the STA whitelist profile applies only to STAs connected to the corresponding VAPs.

If the STA blacklist or whitelist profiles are configured in both an AP system profile and a VAP profile, a STA can connect to the WLAN only when it is permitted by both the configuration in the AP system profile and VAP profile.

If a STA whitelist profile is empty, no STA can connect to the WLAN to access network resources.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run sta-whitelist-profile name profile-name

    A STA whitelist profile is created and the STA whitelist profile view is displayed.

    By default, no STA whitelist profile is created.

  4. Add STAs to the whitelist using either or both of the following methods based on actual situations:

    • Run the sta-mac mac-address command to add the MAC address of a STA.
    • Run the oui oui command to add the OUI of STAs.

    MAC addresses and OUIs share specifications in the whitelist. A maximum of 3276 MAC addresses or OUIs can be added to a STA whitelist.

    By default, the MAC address or OUI of a STA is not added to the whitelist.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >