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).
(Optional) Configuring a MAC Address Table for a Bridge Group

(Optional) Configuring a MAC Address Table for a Bridge Group

Context

By default, dynamic MAC address learning is enabled for a bridge group. When a network is insecure and vulnerable to attacks, you can disable dynamic MAC address learning and use static MAC address entries for traffic forwarding.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    bridge bridge-id

    The bridge group view is displayed.

    Multiple devices can use the same bridge number.

  3. Run:

    mac-address learning disable

    Dynamic MAC address learning is disabled.

    By default, dynamic MAC address learning is enabled for a bridge group.

  4. Run:

    quit

    Return to the system view.

  5. Configure a MAC address entry.
    • Run:

      mac-address static mac-address interface-type interface-number bridge bridge-id

      A static MAC address entry is configured for a bridge group.

      By default, no static MAC address entry is configured. In a bridge group, each MAC address entry can be configured as only one static entry. If the MAC address entry is configured as a static entry repeatedly, the last configuration overwrites the previous configuration.

    • Run:

      mac-address blackhole mac-address bridge bridge-id

      A blackhole MAC address entry is configured for a bridge group.

      By default, no blackhole MAC address entry is configured.

    • Run:

      mac-address aging-time seconds bridge

      The aging time is configured for a dynamic MAC entry.

      The configured aging time takes effect on the dynamic MAC address entries of all bridge groups.

Translation
Download
Updated: 2019-05-25

Document ID: EDOC1000097279

Views: 8663

Downloads: 62

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