No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Ethernet Switching

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring MAC Address Flapping Detection in a VLAN

Configuring MAC Address Flapping Detection in a VLAN

Context

After MAC address flapping detection is configured in a VLAN, the device checks all MAC addresses in the VLAN to detect MAC address flapping. You can configure the device to block the flapping MAC address or interface where MAC address flapping occurs, or to report an alarm.

NOTE:

Only the S7703, S7706, and S7712 support this command.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run vlan vlan-id

    A VLAN is created and the VLAN view is displayed.

  3. Run loop-detect eth-loop { [ block-mac ] block-time block-time retry-times retry-times | alarm-only }

    MAC address flapping detection is configured.

    When detecting MAC address flapping in a VLAN, the device can take either of the following actions:

    • Block the interface or MAC address. When block-mac is specified in the command, the device does not block the interface but blocks traffic from the flapping MAC address.
    • Send an alarm to the NMS.

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.

Action to Take After MAC Address Flapping Occurs

After MAC address flapping detection is configured in a VLAN, the device checks all MAC addresses in the VLAN to detect MAC address flapping. If MAC address flapping occurs on an interface, the system blocks the interface. After a specified period of time, the system unblocks the interface. If no MAC address flapping is detected within 20 seconds, the system unblocks the interface and starts a new round of detection. If MAC address flapping is detected again within 20 seconds, the system blocks the interface. This process repeats for a specified number of times. If MAC address flapping persists, the interface is permanently blocked.

After an interface or a MAC address is permanently blocked because of MAC address flapping, the interface or MAC address can be restored by using the reset loop-detect eth-loop command in the corresponding VLAN view.

  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.
NOTE:
  • 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.

  • After an interface in a VLAN is blocked and the interface becomes Down, the blocked interface is unblocked immediately.
Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 286401

Downloads: 141

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next