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

Configuring a MAC Address Learning Priority for an Interface

Context

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

This configuration is not supported on the SA cards of S series.

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.

Verifying the Configuration

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

Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 296318

Downloads: 141

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