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


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - VPN

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R010

This document describes VPN features on the device and provides configuration procedures and 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


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 router.

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


  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.

    By default, the aging time of dynamic MAC address entries is 300 seconds.

  3. Run mac-address static mac-address interface-type interface-number vsi vsi-name

    Static MAC address entries are configured.

    By default, no static MAC address entry is configured in the system.

  4. Run mac-address blackhole mac-address vsi vsi-name

    MAC address blackhole entries are configured.

    By default, no blackhole MAC address entry is configured for the VSI.

  5. Run vsi vsi-name [ 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.

Updated: 2019-08-07

Document ID: EDOC1100033725

Views: 142345

Downloads: 357

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