Figure 7-4 Networking diagram for MAC address anti-flapping
Switch
Server
MAC:11-22-33
MAC:11-22-33
Pre-configuration Tasks
None.
Data Preparation
To configure MAC address anti-flapping, you need the following data.
No.
Data
1 (Optional) MAC address learning priority of each interface
7.9.2 Setting the MAC Address Learning Priority of an Interface
To prevent MAC address flapping, set different MAC address learning priorities for interfaces.
When interfaces learn the same MAC address, the MAC address entry learned by the interface
with the highest priority overrides the MAC address entries learned by the other interfaces.
Context
Setting different MAC address learning priorities for interface prevents MAC address flapping.
If an attacker uses the MAC address of an unauthorized network device to connect to the
S7700 after the network device is powered off, the S7700 learns the bogus MAC address. After
the network device is powered on, the S7700 can learn the correct MAC address entry.
Procedure
Step 1 Run:
system-view
The system view is displayed.
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.
362