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 V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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).
Enabling GMAC Trace to Locate Faults

Enabling GMAC Trace to Locate Faults


Similar to IP traceroute, GMAC trace efficiently detects and locates Ethernet faults and monitors the link quality.

GMAC trace is applicable to the network where MD, MA, or MEP is not configured.


  1. Configure the devices on both ends of a link and the intermediate device.

    Perform the following operations on the devices at both ends of the link to be tested and the intermediate device.

    1. Run the system-view command to enter the system view.
    2. Run the trace mac enable command to enable GMAC trace globally.

      By default, GMAC trace is enable.

      After GMAC trace is enabled on the device, GMAC trace operations can be performed on the device. The device can respond to received GMAC trace packets.

  2. Perform GMAC trace.

    Perform the following operations on the device at one end of the link to be tested.

    1. Run the system-view command to enter the system view.
    2. Run the trace mac mac-address vlan vlan-id [ interface interface-type interface-number | -t timeout | -h ]* command to configure the device to locate connectivity faults between the local and remote devices.

      A MEP is not required to initiate GMAC trace, but the destination node cannot be a MEP or MIP. GMAC trace can be used without configuring the MD, MA, or MEP on the source device, intermediate device, or destination device. All the intermediate devices can respond with an LTR.

      The two devices must be configured with IEEE 802.1ag of the same version. Otherwise, you cannot use the trace mac command. For example, if the local device is configured with IEEE 802.1ag Draft 7 and the remote device is configured with IEEE Standard 802.1ag-2007, the connectivity fault cannot be located.

Updated: 2019-01-18

Document ID: EDOC1100038103

Views: 116661

Downloads: 52

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