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.


AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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).
Configuring a Blackhole MAC Address Entry

Configuring a Blackhole MAC Address Entry

Blackhole MAC address entries can be used to filter out invalid MAC addresses.


To protect a device or network against MAC address attacks from hackers, configure MAC addresses of untrusted users as blackhole MAC addresses. The device then directly discards the received packets of which the source or destination MAC addresses match the blackhole MAC address entries.


  1. Run system-view

    The system view is displayed.

  2. Run mac-address blackhole mac-address vlan vlan-id

    A blackhole MAC address entry is configured.


    The AR111-S, AR121-S and AR151-S2 forward packets with the source MAC address as the blackhole MAC address.

    The WAN-side Interface of the AR2204-27GE-S, when the source MAC addresses of packets are blackhole MAC addresses, the device forwards packets and does not discard them.

    The 4GE-2S, 4ES2G-S, 4ES2GP-S, and 9ES2 cards forward packets with the source MAC address as the blackhole MAC address.

Verifying the Configuration

Run the display mac-address blackhole command to check configured blackhole MAC address entries.

Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 55939

Downloads: 41

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