< Home

Configuring a Blackhole MAC Address Entry

Context

To protect a switch or network against MAC address attacks, configure MAC addresses of untrusted users as blackhole MAC addresses. After blackhole MAC address entries are configured, the switch discards packets whose source or destination MAC addresses match these entries.

Procedure

  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.

Verifying the Configuration

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

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >