< Home

Configuring 802.1ag MAC Trace

Context

Similar to IP traceroute, 802.1ag MAC trace monitors connectivity of a path between two MEPs.

802.1ag MAC trace can be only implemented on the network where the MD, MA, and MEP are configured.

Procedure

  1. A device is usually configured with multiple MDs and MAs. To determine failure points or the forwarding path for packets sent from a MEP to another MEP, perform either of the following operations on the device with a MEP at one end of the link to be tested.

    • 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 mep mep-id mep-id { md md-name ma ma-name { mac mac-address | remote-mep mep-id mep-id } | mac mac-address | remote-mep mep-id mep-id } [ interface interface-type interface-number | -t timeout | ttl ttl ] *

        A connectivity fault between the local device and the remote device is located.

      • The trace mac-8021ag command without md md-name and ma ma-name specified determines failure points or the forwarding path for packets sent from a MEP to another MEP in a specified MA.

      • The trace mac-8021ag command with md md-name and ma ma-name specified determines failure points or the forwarding path for packets sent from a MEP to another MEP based on the configured MA and MD.

    • All views except the MA view:

      Run trace mac-8021ag mep mep-id mep-id md md-name ma ma-name { mac mac-address | remote-mep mep-id mep-id } [ interface interface-type interface-number | -t timeout | ttl ttl ] *

      A connectivity fault between the local device and the remote device is located.

    When performing 802.1ag MAC trace, ensure that:

    • The MA has been associated with a VLAN.

    • The MEP has been configured in the MA.

    • The outbound interface (if specified) cannot be the interface on which an inward-facing MEP is configured. The interface must join the VLAN associated with the MA.

    • If the destination node is an RMEP, either mac mac-address or remote-mep mep-id mep-id can be specified. If remote-mep mep-id mep-id is specified, the RMEP must have been created using the remote-mep command and the bridge MAC address of the device on which the RMEP is located must be specified.

    • If the destination node is a MIP, specify mac mac-address.

    • If the forwarding entry of the destination node does not exist in the MAC address table, interface interface-type interface-number must be specified.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.