< Home

sta-access-mode

Function

The sta-access-mode command binds STA blacklist and STA whitelist profiles to VAP profiles or AP system profiles.

The undo sta-access-mode command unbinds STA blacklist and STA whitelist profiles from VAP profiles or AP system profiles.

By default, no STA blacklist and STA whitelist profiles are bound to a VAP profile and an AP system profile.

Format

sta-access-mode { blacklist | whitelist } profile-name

undo sta-access-mode

Parameters

Parameter

Description

Value

blacklist

Specifies a STA blacklist profile.

-

whitelist

Specifies a STA whitelist profile.

-

profile-name

Specifies the names of STA blacklist and whitelist profiles.

The STA blacklist and whitelist profiles must exist.

Views

VAP profile view, AP system profile view

Default Level

2: Configuration level

Usage Guidelines

STA blacklists and whitelists configured by using the sta-mac command take effect only after the STA blacklist and whitelist profiles are bound to VAP profiles or AP system profiles using the sta-access-mode command.

When STA blacklist and whitelist profiles are bound to different profiles, the effective scope of the STA blacklists and whitelists differs.
  • VAP profile: The STA blacklist and whitelist take effect on the corresponding VAP.
  • AP system profile: The STA blacklist and whitelist take effect on the corresponding AP.
  • VAP profile and AP system profile: A STA cannot go online if it cannot meet any of access requirements.

If a STA blacklist or whitelist profile is bound to a VAP profile or an AP system profile, only one STA blacklist or whitelist profile takes effect in the VAP profile or AP system profile.

Example

# Bind the STA blacklist profile sta-blacklist-profile1 to the VAP profile vap-profile1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap-profile1
[HUAWEI-wlan-vap-prof-vap-profile1] sta-access-mode blacklist sta-blacklist-profile1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >