No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Definition and Classification of MAC Address Entries
Definition and Classification of MAC Address Entries
Definition of a MAC Address Table
A MAC address table records MAC addresses that have been learned
by the switch, interfaces
on which MAC addresses are learned, and VLANs that the interfaces
belong to. Before forwarding a packet, the switch looks up the destination
MAC address of the packet in the MAC address table. If a MAC address
entry matches the destination MAC address, the switch forwards the packet from
the outbound interface recorded in the MAC address entry. If no matching
MAC address entry exists, the switch broadcasts the packet to all interfaces in the corresponding
VLAN, except the interface that received the packet.
Classification
of MAC Address Entries
MAC address entries are classified
as dynamic, static, and blackhole entries. In
addition, there are MAC address entries that are related to service
types, for example, secure MAC, MUX MAC, authen MAC, and guest MAC.
They are maintained by services and are converted from dynamic MAC
address entries.
Table 2-1 Characteristics and functions of different MAC address entries
MAC Address Entry Type
Characteristics
Function
Dynamic MAC address entry
Dynamic MAC address entries are obtained by learning the source
MAC addresses of packets received by an interface, and can be aged.
Dynamic MAC address entries are lost after a system restart, LPU hot swap, or LPU reset.
You can check whether data is forwarded between two connected
devices by checking the dynamic MAC address entries.
You can obtain the number of users communicating on an interface
by checking the number of specified dynamic MAC address entries.
Static MAC address entry
Static MAC address entries are manually configured and delivered to each LPU. Static MAC address entries never
age.
The static MAC address entries saved in the system are not lost
after a system restart, LPU hot swap, or LPU reset.
After an interface is statically bound to a MAC address, other
interfaces discard packets from that source MAC address.
Each static MAC address entry can have only one outbound interface.
Statically binding an interface to a MAC address does not affect
the learning of dynamic MAC address entries on the interface.
When static MAC address entries are configured, authorized
users can use network resources and other users are prevented from
using the bound MAC addresses to initiate attacks.
Blackhole MAC address entry
Blackhole MAC address entries are manually configured and delivered to each LPU. Blackhole MAC address
entries never age.
The blackhole MAC address entries saved in the system are not
lost after a system restart, LPU hot swap, or LPU
reset.
After blackhole MAC address entries are configured, the switch discards packets from or destined for the blackhole MAC addresses.
Blackhole MAC address entries can filter out unauthorized
users.