A VLAN is created and the VLAN view is displayed.
Step 3 Run:
loop-detect eth-loop { [ block-mac ] block-time block-time retry-times retry-times
| alarm-only }
MAC address flapping detection is configured in the VLAN.
When detecting MAC address flapping in a VLAN, the device can take either of the following
actions:
l Block the interface or MAC address. When block-mac is specified in the command, the
industrial switch router does not block the interface but blocks the traffic from the flapping
MAC address.
l Send an alarm to the NMS.
----End
Checking the Configuration
Run the display loop-detect eth-loop [ vlan vlan-id ] command to check information about
MAC address flapping detection in a VLAN.
Follow-up Procedure
After an interface or a MAC address is permanently blocked because of MAC address flapping,
you must run the reset loop-detect eth-loop command in the corresponding VLAN if you want
to restore the interface or MAC address.
1. Run the system-view command to enter the system view.
2. Run the reset loop-detect eth-loop vlan vlan-id { all | interface interface-type interface-
number | mac-address mac-address } command to unblock the specified interface or MAC
address.
Before using the reset loop-detect eth-loop command, run the display loop-detect eth-loop
command to check the blocked interface or MAC address.
1.6.4 Configuring the Router to Discard Packets with an All-0 MAC
Address
A faulty network device may send packets with an all-0 source or destination MAC address to
the industrial switch router. You can configure the industrial switch router to discard such
packets and send an alarm to the network management system (NMS). You can locate the faulty
device according to the alarm.
Context
You can configure the industrial switch router to discard packets with an all-0 source or
destination MAC address.
Procedure
Step 1 Run:
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
1 MAC Address Table Configuration
Issue 01 (2014-11-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
18