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.
sta-blacklist-profile name profile-name
undo sta-blacklist-profile { name profile-name | all }
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. |
- |
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.