
tester analyzes connectivity and performance of the Ethernet network and Switch B based on
the received Ethernet frames.
Figure 9-3
Networking diagram of a local MAC swap loopback test
Ethernet
Tester
SwitchA
SwitchB
Users
Eth0/0/2
GE0/0/1
Configuration Roadmap
The configuration roadmap is as follows:
1.
Create a VLAN, configure GE 0/0/1 as a trunk interface and GE 0/0/2 as a hybrid interface,
and add the interfaces to the VLAN.
2.
Configure local MAC swap loopback on Switch B.
3.
Enable the MAC swap loopback function on Switch B.
Data Preparation
To complete the configuration, you need the following data:
l
VLAN ID: 100
l
Source and destination MAC addresses of test Ethernet frames: 0018-2000-0085 and
0018-2000-0070
l
Timeout period of the loopback test: 80s
Procedure
Step 1
Create VLAN 100, configure GE 0/0/1 as trunk interface and GE 0/0/2 as a hybrid interface,
and add the interfaces to VLAN 100.
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
vlan batch 100
[SwitchB]
interface gigabitethernet0/0/1
[SwitchB-GigabitEthernet0/0/1]
port link-type trunk
[SwitchB-GigabitEthernet0/0/1]
port trunk allow-pass vlan 100
[SwitchB-GigabitEthernet0/0/1]
quit
[SwitchB]
interface ethernet0/0/2
[SwitchB-Ethernet0/0/2]
port hybrid pvid vlan 100
[SwitchB-Ethernet0/0/2]
port hybrid untagged vlan 100
Step 2
Configure local MAC swap loopback on GE 0/0/2 and specify GE 0/0/1 as the outbound interface
of loopback Ethernet frames. Enable the MAC swap loopback function.
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.
383