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 - VPN

S9300, S9300E, and S9300X V200R010C00

This document describes the VPN configuration procedures and provides configuration examples.
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 Learning

Configuring MAC Address Learning

Context

In VPLS, packets are forwarded according to MAC address forwarding entries. In most cases, MAC address learning can be performed automatically. Nevertheless, to prevent attacks and troubleshoot faults, you can adopt the VSI-based MAC address management mechanism provided by the switch.

A physical interface can belong to multiple VLANs at the same time. Multiple VLANIF interfaces can be bound with the same VSI. Therefore, when configuring MAC address static entries or blackhole entries for VSI bound to the VLANIF interfaces, you must specify the physical interface and VLANIF interface.

Do as follows on the PEs of the two ends of the PW:

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    mac-address aging-time aging-time

    The aging time of MAC address entries for the VPLS is configured.

  3. Run:

    mac-address static mac-address interface-type interface-number vlanif interface-number  vsi vsi-name or mac-address static mac-address interface-type interface-number vsi vsi-name [ pe-vid pe-vid [ ce-vid ce-vid ] ]

    Static MAC address entries are configured.

  4. Run:

    mac-address blackhole mac-address vsi vsi-name

    MAC address blackhole entries are configured.

  5. Run:

    vsi vsi-name [ auto | static ]

    The VSI view is displayed.

  6. Run:

    pwsignal ldp

    The PW signaling protocol is specified as LDP and the VSI-LDP view is displayed.

  7. Run:

    vsi-id vsi-id

    The VSI ID is configured.

  8. Run:

    quit

    Return to the VSI view.

  9. Run:

    mac-learning { enable | disable }

    The MAC address learning is enabled or disabled.

  10. Run:

    mac-limit { action { discard | forward } | alarm { disable | enable } | maximum max-num } *

    The MAC address learning limit is configured.

Translation
Download
Updated: 2019-08-21

Document ID: EDOC1000142068

Views: 113093

Downloads: 208

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