Got it

[Knowledge Sharing]How to check whether MAC Address Flapping occurs on an interface ?

Latest reply: Sep 28, 2018 22:28:10 856 1 1 0 0

Hello all,

Find below some steps to check if there are MAC flapping records in your network. Hope to be useful.


  • Use a command to determine the interface where MAC address flapping occurs.

    Run the display mac-address flapping record command to check all historical records of MAC address flapping on the switch.

    icon-note.gif NOTE:
    This command has been available since V200R001C00.
     S  : start time
     E  : end time
    (Q) : quit vlan
    (D) : error down
    Move-Time             VLAN  MAC-Address      Original-Port Move-Ports   MoveNum
    S:2011-08-31 09:22 300   0000-0000-0007   Eth-Trunk1    Eth-Trunk2   81
    E:2011-08-31 09:22
    Total items on slot 2: 1

    Original-Port: indicates the interface that learns the MAC address first. The value of Original-Port is Eth-Trunk1.

    Move-Ports: indicates the interface that learns the MAC address later. The value of Move-Ports is Eth-Trunk2.

  • Determine the interface where MAC address flapping occurs based on alarms.

    Run the display trapbuffer command to check alarms to determine whether MAC address flapping occurs.

    Modular switches and fixed switches of V200R001C00 and later versions support global MAC address flapping detection, and global MAC address flapping detection is enabled on them by default. Fixed switches of V100R005 and V100R006 do not support global MAC address flapping detection, and support only VLAN-based MAC address flapping detection. By default, VLAN-based MAC address flapping detection is disabled. You can run the loop-detect eth-loop alarm-only command in the VLAN view to enable VLAN-based MAC address flapping detection.

    Differences on alarms of fixed and modular switches in different versions:

    • Modular switches of V100R002, V100R003, and V100R006:
      L2IF/4/MAC_FLAPPING_ALARM:OID mac-address has flap value . (BaseTrapSeverity=0, BaseTrapProbableCause=0, BaseTrapEventType=4, L2IfPort=549,entPhysicalIndex=1, MacAdd=0000-0000-002b,vlanid=1001, FormerIfDescName=Ethernet3/0/2,CurrentIfDescName=Ethernet3/0/3,DeviceName=S9306-169).
    • Fixed andmodular switches of V200R001C00 and later versions:
      L2IFPPI/4/MFLPVLANALARM:OID MAC move detected, VLANID = 200, MacAddress = 0800-0000-0001, Original-Port = Eth0/0/12, Flapping port = Eth0/0/17. Please check the network accessed to flapping port.
    • Fixed switches of V100R005 and V100R006:
      L2IFPPI/4/MFLPVLANALARM:OID Loop exists in vlan 1001, for flapping mac-address 0000-0000-002b between port GE0/0/24 and port GE0/0/23. 
    icon-note.gif NOTE:
    MAC address flapping between interfaces may be not caused by network loops. MAC address flapping may occur on an aggregation switch in specific scenarios, for example, users roam between APs and a PC goes online through different access switches.
  • x
  • convention:

Created Sep 28, 2018 22:28:10

thanks for sharing :)
View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.