loop-detect eth-loop precise-block enable (VLAN view)

Function

The loop-detect eth-loop precise-block enable command enables accurate blocking of MAC flapping-based loop detection and configures a device to block interfaces based on the trusted and untrusted states.

The undo loop-detect eth-loop precise-block enable command disables this function.

By default, interfaces are blocked based on their blocking priorities.

Format

loop-detect eth-loop precise-block enable

undo loop-detect eth-loop precise-block enable

Parameters

None

Views

VLAN view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mflp write

Usage Guidelines

Usage Scenario

After MAC flapping-based loop detection is enabled in the VLAN view using the loop-detect eth-loop command, the device blocks an AC-side interface that has MAC address entry flapping occurred based on the blocking priorities of interfaces configured using the loop-detect eth-loop priority. This configuration enables the device to eliminate loops. However, MAC address entries of interfaces without loops may change due to the impact from a remote loop, and traffic over the interfaces with lower blocking priorities is interrupted.

To address this problem, run the loop-detect eth-loop precise-block enable command to enable accurate blocking of MAC flapping-based loop detection. Accurate blocking determines trusted and untrusted interfaces by analyzing the frequency of MAC address entry flapping. When a MAC address entry changes repeatedly, accurate blocking can accurately locate and block the interface (untrusted) with a loop.

Example

# Enable accurate blocking of MAC flapping-based loop detection in a VLAN
<HUAWEI> system-view
[~HUAWEI] vlan 10
[*HUAWEI-vlan10] loop-detect eth-loop precise-block enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >