
4.11.2 (Optional) Implementing 802.1ag MAC Trace
By performing the 802.1ag MAC trace, you can detect connectivity between MEPs or between
MEPs and MIPs within an MA and locate faults.
Context
Similar to tracerout or tracert, 802.1ag MAC trace tests the path between the local device and a
destination device or locates failure points by sending test packets and receiving reply packets.
Procedure
Step 1
A device is usually configured with multiple MDs and MAs. To determine the forwarding path
for sending packets from a MEP to another MEP or a MIP in an MA or failure points, perform
either of the following operations on the switch with a MEP at one end of the link to be tested.
l
MA view
1.
Run:
system-view
The system view is displayed.
2.
Run:
cfm md
md-name
The MD view is displayed.
3.
Run:
ma
ma-name
The MA view is displayed.
4.
Run:
trace mac-8021ag
{
mac
mac-address
|
remote-mep
mep-id
mep-id
}[
md
md-
name
ma
ma-name
] [
interface
interface-type
interface-number
|
-t
timeout
|
ttl
ttl
] *
The connectivity fault between the local switch and the remote switch is located.
–
Run the
trace mac-8021ag
command without
md
md-name
ma
ma-name
in the MA view
to determine a forwarding path or failure point in a specified MA.
–
Run the
trace mac-8021ag
md
md-name
ma
ma-name
command in the MA view to
determine a forwarding path or failure point in a specified MA.
l
All views except the MA view:
Run:
trace mac-8021ag
{
mac
mac-address
|
remote-mep
mep-id
mep-id
}
md
md-name
ma
ma-
name
[
interface
interface-type
interface-number
|
-t
timeout
|
ttl
ttl
] *
The connectivity fault between the switch and the remote switch is located.
When implementing 802.1ag MAC trace, ensure that:
l
The MA is associated with a VLAN.
l
The MEP is configured in the MA.
l
If the outbound interface is specified, it cannot be configured with an inward-facing MEP.
The interface must be added to the VLAN associated with the MA.
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
4 Ethernet OAM Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
194