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.


S12700 V200R010C00 Configuration Guide - Reliability

This document describes the configuration of BFD, DLDP, VRRP, SmartLink, CFM, EFM, Y.1731 and MAC swap loopback to ensure reliability on the device.
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 Local MAC Swap Loopback

Configuring Local MAC Swap Loopback


Before performing a local MAC swap loopback test, configure the source MAC address, destination MAC address, and VLAN ID of test packets on the Switch. Only the packets with the specified source MAC address, destination MAC address, and VLAN ID are looped back.

When a local MAC swap test is performed on an interface, services on the interface are interrupted, but services on other interfaces are not affected. However, if a large number of test packets are sent, test packets occupy bandwidth of other services on the interface that sends test packets back to the tester.


  1. Run:


    The system view is displayed.

  2. Run:

    interface interface-type interface-number

    The interface view is displayed.

    MAC swap loopback tests cannot be performed on Eth-Trunk interfaces or their member interfaces.

  3. Run:

    loopback local swap-mac source-mac source-mac-address dest-mac dest-mac-address vlan vlan-id [ inner-vlan inner-vlan-id ] interface interface-type interface-number [ timeout { time-value | none } ]

    Local MAC swap loopback is configured.


    SA cards support loopback of only single-tagged Ethernet frames.

    If the single VLAN tag option is configured on a card except ES0D0G24CA00, EH1D2S24CSA0, ES0D0G24SA00, or EH1D2G24SSA0, the test packets cannot be double-tagged.

Updated: 2019-08-21

Document ID: EDOC1000142090

Views: 100845

Downloads: 113

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