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 the AR3200 detects MAC address flapping in the VLAN, it performs either of the
following actions:
l
Blocks the interface or MAC address. When the
block-mac
keyword is used in the command,
the router does not block the interface but blocks the traffic from the flapping MAC address.
l
Sends a trap to the NMS.
----End
6.6.3 Unblocking an Interface or a MAC Address
Context
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.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
reset loop-detect eth-loop
vlan
vlan-id
{
all
|
interface
{
interface-type
interface-number
} |
mac-address
mac-address
}
The specified interface or MAC address is unblocked.
Before using the
reset loop-detect eth-loop
command, run the
display loop-detect eth-loop
command to check the blocked interfaces or MAC addresses.
----End
6.6.4 Checking the Configuration
Procedure
Step 1
Run the
display loop-detect eth-loop
[
vlan
vlan-id
] command to check information about
MAC address flapping detection on a VLAN.
----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.
169