The ap blacklist command adds an AP to an AP blacklist.
The undo ap blacklist command deletes APs from an AP blacklist.
By default, no AP is in an AP blacklist.
ap blacklist mac ap-mac1 [ to ap-mac2 ]
undo ap blacklist { mac ap-mac1 [ to ap-mac2 ] | all }
Parameter |
Description |
Value |
---|---|---|
mac ap-mac1 |
Specifies the AP MAC address. |
The value is in H-H-H format. An H is a hexadecimal number of 4 digits. |
to ap-mac2 |
Specifies the end MAC address. This parameter is used when you want to add multiple MAC addresses to the blacklist. The value must be larger than ap-mac1. ap-mac1 and ap-mac2 identify a range. The maximum number of MAC addresses that can be added to the blacklist in batches is 128. |
The value is in H-H-H format. An H is a hexadecimal number of 4 digits. |
all | Deletes all MAC addresses from the blacklist. |
- |
Usage Scenario
If the AP's MAC address is in the blacklist, the AP cannot go online. If the MAC address of an online AP is in the blacklist, the AP is forced to log out.
Precautions
The AP blacklist and whitelist can be configured at the same time. However, the MAC address of an AP cannot be added to the AP blacklist and whitelist at the same time.
If AP whitelist and blacklist are all configured, check whether an AP is on the blacklist first.
# Add the AP with the MAC address of 0025-9e07-8280 to the AP blacklist.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] ap blacklist mac 0025-9e07-8280
# Add MAC addresses from 0025-9e07-8270 to 0025-9e07-8276 to the AP blacklist.
<HUAWEI> system-view [HUAWEI] wlan [HUAWEI-wlan-view] ap blacklist mac 0025-9e07-8270 to 0025-9e07-8276