< Home

sta-blacklist-profile

Function

The sta-blacklist-profile command creates a STA blacklist profile or displays the STA blacklist profile view.

The undo sta-blacklist-profile command deletes one or more STA blacklist profiles.

By default, no STA blacklist profile is created.

Format

sta-blacklist-profile name profile-name

undo sta-blacklist-profile { name profile-name | all }

Parameters

Parameter

Description

Value

name profile-name

Specifies the name of a STA blacklist profile.

The value is a string of 1 to 35 case-insensitive characters. It does not contain question marks (?) or spaces, and cannot start or end with double quotation marks (" ").

all

Deletes all STA blacklist profiles.

-

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the MAC address of a STA is in the blacklist, the STA cannot go online. If the STA blacklist profile is not referenced or the MAC address of a STA is not in the blacklist, the STA is allowed to go online.

The configured blacklist takes effect only after the STA blacklist profile is bound to a VAP profile or an AP system profile using the sta-access-mode command.

If a STA is added to the blacklist, the system automatically disconnects the STA.

Precautions

If STA blacklist profiles are bound to a VAP profile and an AP system profile, a STA cannot go online when the MAC address of the STA is in either of the STA blacklist profile.

Example

# Create the STA blacklist profile sta-blacklist-profile1.

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