Dear friend!
MAC address learning is an effective way to build a MAC address table. The MAC address table is used to guide the unicast forwarding of packets.
A MAC address table records other devices' MAC addresses learned by the router, interfaces on which MAC addresses are learned, and VLANs that the interfaces belong to. Before forwarding a packet, the router looks up the destination MAC address of the packet the MAC address table. If a MAC address entry matches the destination MAC address, the router forwards the packet from the corresponding outbound interface in the MAC address entry. If no MAC address entry matches the destination MAC address, the router broadcasts the packet to all interfaces in the corresponding VLAN, except the inbound interface receiving the packet.
You can specify a VB logical port or VLAN filter table or create a split horizon group to control whether to forward packets corresponding to MAC addresses.
If you want to check whether a packet carrying a MAC address passes through a port, you can use the packet capture tool to analyze the packet.
More: How to query the MAC address of an Ethernet board?
Thank you!