
This is a one-time command and is not saved in the configuration file.
A MAC swap loopback test stops when you disable the MAC swap loopback function or the
loopback test times out. To perform the loopback test again, run the
loopback swap-mac
start
command.
----End
9.4.5 Checking the Configuration
After configuring the remote MAC swap loopback function, use the following command to
verify the configuration.
Prerequisite
All configurations of remote MAC swap loopback are complete.
Procedure
l
Run the
display loopback swap-mac information
command to view the configuration of
remote MAC swap loopback.
----End
Example
Run the
display loopback swap-mac information
command to check whether remote MAC
swap loopback is configured correctly. After test packets are sent, run this command to check
the number of received loopback packets.
<Quidway>
display loopback swap-mac information
Loopback type : remote
Loopback state : running
Loopback test time(s) : 60
Loopback interface : Ethernet0/0/1
Loopback output interface : Ethernet0/0/1
Loopback source MAC : 0001-0001-0001
Loopback destination MAC : 0002-0002-0002
Loopback vlan : 10
Loopback inner vlan : 0
Loopback packets : 0
9.5 Configuration Examples
This section provides examples of MAC swap loopback configuration.
9.5.1 Example for Configuring Local MAC Swap Loopback
Networking Requirements
, Switch B is an S3700. On Switch B, GE 0/0/1 is connected to an
Ethernet network, and GE 0/0/2 is connected to users.
A local MAC swap loopback test needs to be performed on GE 0/0/2. A tester sends Ethernet
frames to Switch B. After the source and destination MAC addresses of the Ethernet frames are
swapped on GE 0/0/2, the Ethernet frames are sent back to the tester through GE 0/0/1. The
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
9 MAC Swap Loopback Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
382