Configure blackhole MAC addresses on S series switch

Perform the following operations to configure blackhole MAC addresses on S series switches (except S1700):
1. Configure a blackhole MAC address in a VLAN.
[HUAWEI] vlan batch 100
[HUAWEI] mac-address blackhole 0-0-1 vlan 100
2. Configure a blackhole MAC address globally. The globally configured blackhole MAC address takes effect in all VLANs.
[HUAWEI] mac-address blackhole 0-0-1

After the preceding configuration is complete, you can run the display mac-address blackhole command to view the configured blackhole MAC address.

Scroll to top