1-2When receiving a frame destined for MAC-SOURCE, the device then looks up the MAC address tableand forwards it from Port 1.To adapt to network changes, MAC address table entries need to be constantly updated. Eachdynamically learned MAC address table entry has a life period, that is, an aging timer. If an entry is notupdated before the aging timer expires, it will be deleted. If yes, the aging timer restarts the timing.Manually configure a MAC address table entryWhen a device dynamically learns MAC address table entries through source MAC address learning, itcannot tell frames of legal users from those of hackers. This brings potential security hazards. Forexample, if a hacker forges the MAC address of a legal user and uses it as the source MAC address ofthe attack frames, and accesses the device from a different port than that used by the legal user, thedevice will learn a forged MAC address entry, and forward frames destined for the legal user to thehacker instead.To enhance the security of a port, you can manually add MAC address entries into the MAC addresstable of the device to bind specific user devices to the port, thus preventing hackers from stealing datausing forged MAC addresses. Manually configured MAC address table entries have a higher prioritythan dynamically learned ones.Types of MAC Address Table EntriesA MAC address table may contain the following types of entries:z Static entries, which are manually configured and never age out.z Dynamic entries, which can be manually configured or dynamically learned and may age out.z Blackhole entries, which are manually configured and never age out. Blackhole entries areconfigured to filter frames with specific destination MAC addresses.Dynamically-learned MAC addresses cannot overwrite static or blackhole MAC address entries, but thelatter can overwrite the former.MAC Address Table-Based Frame ForwardingWhen forwarding a frame, the device adopts the following two forwarding modes based on the MACaddress table:z Unicast mode: If an entry is available for the destination MAC address, the device forwards theframe out the outgoing interface indicated by the MAC address table entry.z Broadcast mode: If the device receives a frame with the destination address being all ones, or noentry is available for the destination MAC address, the device broadcasts the frame to all theinterfaces except the receiving interface.