![Huawei Quidway NetEngine40E Configuration Manual - Reliability Download Page 512](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453512.webp)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ping mac enable
Gmac ping is enabled globally.
By default, Gmac ping is disabled.
When Gmac ping is enabled:
l
MAC ping can be implemented on the routers.
l
The routers can respond to LBMs.
Step 3
Run:
ping mac
mac-address
vlan
vlan-id
[
interface
interface-type
interface-number
|
-c
count
|
-s
packetsize
|
-t
timeout
|
-p
priority-value
] *
The connectivity between the router and the remote device is tested.
A MEP is not required to initiate Gmac ping. The destination node does not need to be a MEP
or a MIP. Gmac ping can be implemented without configuring the MD, MA, or MEP on the
source device, the intermediate device, and the destination device.
The two devices must be enabled with 802.1ag of the same version. If the local device is enabled
with IEEE 802.1ag Draft 7 and the peer is enabled with IEEE Standard 802.1ag-2007, the local
device cannot ping through the peer device when the
ping mac
command is run to detect
connectivity of the link between the local and peer devices.
----End
8.2.5 Locating the Fault on the Ethernet
By sending test packets and waiting for a reply, you can test connectivity of the path between
devices and locate faults.
Before You Start
Before configuring the Ethernet fault verification function, familiarize yourself with the usage
scenario, complete the pre-configuration tasks, and obtain the required data.
Applicable Environment
To locate the connectivity fault between two devices, you can send test packets and wait for
reply packets to test the path between the local device and the destination device and to locate
faults. There are the following scenarios based on what kind of link is being tested:
l
For the network where the MD, MA, and MEP are configured, you can implement 802.1ag
MAC trace to locate the connectivity fault between MEPs at the same maintenance level
or between MEPs and MIPs at the same maintenance level.
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
8 Ethernet OAM Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
495