How does a network switch ensure that frames are delivered to the correct destination port?
By enabling Layer 3 routing protocols to direct traffic based on IP addresses
By utilizing a table that maps hardware addresses to corresponding ports
By employing an encryption algorithm to secure frame transmission to the intended recipient
By incrementing the time-to-live (TTL) value for each frame until it reaches the destination