
Figure 9-4
Networking diagram of a remote MAC swap loopback test
Ethernet
Tester
SwitchA
SwitchB
Users
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 add the interface to the VLAN.
2.
Configure remote 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 a trunk interface, and add GE 0/0/1 to VLAN 100.
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
vlan batch 100
[SwitchB]
interface gigabitethernet 0/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
Step 2
Configure remote MAC swap loopback and enable the MAC swap loopback function on GE
0/0/1.
[SwitchB-GigabitEthernet0/0/1]
loopback remote swap-mac source-mac 0018-2000-0085
dest-mac 018-2000-0070 vlan 100 timeout 80
[SwitchB-GigabitEthernet0/0/1]
loopback swap-mac start
[SwitchB-GigabitEthernet0/0/1]
quit
Step 3
Verify the configuration.
After completing the configuration, run the
display loopback swap-mac information
command to verify the configuration. If the configuration is correct, send Ethernet frames from
the tester to test network performance.
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.
385