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 - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 Ping to Detect Layer 2 Network Connectivity

Enabling GMAC Ping to Detect Layer 2 Network Connectivity


Similar to IP ping, GMAC ping efficiently detects and locates Ethernet faults and monitors link quality.

GMAC ping is applicable to networks where MD, MA, or MEP is not configured.


  1. Run:


    The system view is displayed.

  2. Run:

    ping mac enable

    GMAC ping is enabled globally.

    By default, GMAC ping is disabled.

    After GMAC ping is enabled on the device, the device can ping the remote device and respond to received GMAC ping packets.

  3. Run:

    ping mac mac-address vlan vlan-id [ interface interface-type interface-number | -c count | -s packetsize | -t timeout | -p priority-value ] *

    GMAC ping is used to check the connectivity of the link between the local and remote devices.

    A MEP is not required to initiate GMAC ping, but the destination node can be not a MEP or MIP. You can perform GMAC ping without configuring the MD, MA, or MEP on the source device, intermediate device, and destination device.

    The two devices must be configured with IEEE 802.1ag of the same version otherwise you cannot use the ping 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 local device cannot ping the remote device.

Updated: 2019-08-21

Document ID: EDOC1000142081

Views: 255750

Downloads: 408

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