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

AR500, AR510, and AR530 V200R007 CLI-based Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring transparent bridge, MAC table, link aggregation, VLANs, STP/RSTP/MSTP, and so on.The document provides the configuration procedures and configuration examples to illustrate the service configuration methods and application scenario.
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

Configuring MAC Address Flapping Detection

MAC address flapping detection detects all MAC addresses on the device. When MAC address flapping occurs, the device sends an alarm to the NMS.

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. When MAC address flapping occurs on an interface, the device blocks the interface or MAC address, or reports an alarm according to the configuration.

NOTE:

This configuration is not supported on the 4GE-2S, 4ES2G-S, 4ES2GP-S, and 9ES2 cards.

AR500, AR510do not support the configuration.

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 in the VLAN.

    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 industrial switch router does not block the interface but blocks the 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.

Follow-up Procedure

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 if it is configured to do so. 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, you must run the reset loop-detect eth-loop command in the corresponding VLAN if you want to restore the interface or MAC address.

  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.

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.

Translation
Download
Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 20602

Downloads: 64

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