Context
Perform the following steps to configure the router to discard packets with all-0 MAC addresses.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
drop illegal-mac enable
The router is configured to discard packets with all-0 MAC addresses.
By default, the router does not discard packets with all-0 MAC addresses.
----End
6.7.3 Triggering an Alarm for Packets with All-0 MAC Addresses
Context
After receiving the first packet with an all-0 source MAC address or destination MAC address,
the AR3200 router discards the packet and sends a trap to the NMS. When receiving packets
with the same MAC address, the router does not send a trap to the NMS and discards the packets
directly. To trigger the alarm on packets with an all-0 MAC address again, perform the following
steps.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
drop illegal-mac alarm
The router is configured to trigger an alarm when receiving a packet with an all-0 MAC address.
By default, the router triggers an alarm when receiving the first packet with an all-0 MAC
address.
----End
6.7.4 Checking the Configuration
Procedure
Step 1 Run the display current-configuration command to check whether the AR3200 router is
configured to discard the packets with all-0 MAC addresses.
----End
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 6 MAC Address Table Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171