< Home

Enabling GMAC Ping to Detect Layer 2 Network Connectivity

Context

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.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the ping mac enable command to enable GMAC ping 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 the ping mac mac-address vlan vlan-id [ interface interface-type interface-number | -c count | -s packetsize | -t timeout | -p priority-value ] * command to perform GMAC ping 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 cannot be 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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >