No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).



The sta-mac command adds the MAC addresses of a STA to the blacklist or whitelist.

The undo sta-mac command deletes a specified MAC address or all MAC addresses from the blacklist or whitelist.

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


sta-mac mac-address [ description description ]

undo sta-mac { mac-address | all }






Adds a MAC address to the blacklist or whitelist.

The value is in H-H-H format. An H is a hexadecimal number of four digits.


Adds MAC address description to a blacklist or whitelist.

The value is a string of 1 to 80 case-insensitive characters that can include Chinese or Chinese+English characters.


You can only use a command editor of the UTF-8 encoding format to edit Chinese characters.


Deletes all MAC addresses from the blacklist or whitelist.



Blacklist profile view, whitelist profile view

Default Level

2: Configuration level

Usage Guidelines

If the blacklist function is enabled, all STAs in the blacklist cannot connect to the WLAN.

If the whitelist function is enabled, only STAs in the whitelist can connect to the WLAN.

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

A maximum of 256 STA MAC addresses can be added to a STA blacklist.

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


# Add MAC address 2C27-D720-746B of a STA to blacklist huawei.

<Huawei> system-view
[Huawei] wlan
[Huawei-wlan-view] sta-blacklist-profile name sta-blacklist-profile1
[Huawei-wlan-blacklist-prof-sta-blacklist-profile1] sta-mac 2C27-D720-746B
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202447

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Previous Next