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

S12700 V200R010C00 Configuration Guide - Ethernet Switching

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 a MAC Address Learning Priority for an Interface

Configuring a MAC Address Learning Priority for an Interface

Context

MAC address flapping occurs when a MAC address is learned by two interfaces in the same VLAN and the MAC address entry learned later overrides the earlier one. To prevent MAC address flapping, set different MAC address learning priorities for interfaces. When two interfaces learn the same MAC address entries, the MAC address entries learned by the interface with a higher priority override the MAC address entries learned by the other interface.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

  3. Run:

    mac-learning priority priority-id

    The MAC address learning priority of the interface is set.

    By default, the MAC address learning priority of an interface is 0. A larger priority value indicates a higher MAC address learning priority.

  4. Run:
    mac-learning priority flapping-defend action discard

    The switch is configured to discard packets when the switch is configured to prohibit MAC address flapping.

    By default, the action is forward when the switch is configured to prohibit MAC address flapping.

Checking the Configuration

Run the display current-configuration command to check the MAC address learning priorities of interfaces.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 274145

Downloads: 421

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