Figure 7-10 Networking diagram for MAC address anti-flapping
LSW
Server
GE1/0/1
PC1
PC4
PC2 PC3
VLAN10
VLAN 10
Switch
GE1/0/2
MAC:11-22-33
MAC:11-22-33
Configuration Roadmap
The configuration roadmap is as follows:
1. Create a VLAN and add interfaces to the VLAN.
2. Configure MAC address anti-flapping on the server-side interface.
Data Preparation
To complete the configuration, you need the following data:
l VLAN that the server-side and user-side interfaces belong to: VLAN 10
l Server-side interface: GigabitEthernet1/0/1
l User-side interface: GigabitEthernet1/0/2
l MAC address learning priority of the server-side interface: 2
Procedure
Step 1 Create a VLAN and add interfaces to the VLAN.
# Add GigabitEthernet1/0/1 and GigabitEthernet1/0/2 to VLAN 10.
<Quidway> system-view
[Quidway] vlan 10
[Quidway–vlan10] quit
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port link-type trunk
[Quidway-GigabitEthernet1/0/2] port trunk allow-pass vlan 10
[Quidway-GigabitEthernet1/0/2] quit
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 7 MAC Address Table Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
378