< Home

Configuring MAC Address Flapping Detection to Quickly Detect Loops

If a loop occurs, MAC address flapping must have occurred on the failure point. You can use the MAC address flapping function to locate the loop.

Enable MAC address flapping detection to check whether a loop occurs in the following scenarios:

  • A MAC address entry alternates between appearing and disappearing.
  • Ping operations alternate between being successful and failing.
  • A high CPU usage alarm is generated.

MAC address flapping detection is easier to configure than many other loop detection technologies. Table 1 compares the loop detection technologies.

Table 1 Comparison of loop detection technologies

Feature

Advantage

Disadvantage

MAC address flapping detection

  • Checks all interfaces and VLANs on a device.
  • Requires only one command and is enabled by default.

After detecting a loop, the switch only reports alarms; it cannot eliminate the loop.

Loopback detection

  • Detects loops based on interfaces and VLANs.
  • Eliminates a loop after detecting it.

This function is not enabled by default and needs to be configured through commands.

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