正解:D
A switch searches for the destination MAC address and the destination port in the CAM table when forwarding a frame. The CAM table, or content addressable memory table, is a data structure that stores the MAC addresses of the devices connected to the switch ports and their associated VLANs. The switch uses the CAM table to make layer 2 forwarding decisions based on the destination MAC address of a frame. When a frame arrives at a switch port, the switch first learns the source MAC address and the source port of the frame and updates the CAM table accordingly. Then, the switch looks up the destination MAC address of the frame in the CAM table and finds the corresponding destination port. If there is a match, the switch forwards the frame out of that port only. If there is no match, the switch floods the frame out of all ports except the source port123.
Reference:
1: Why is the CAM table in a switch called CAM table and not MAC table even though it holds MAC addresses?
2: ARP and CAM Table
3: The CAM Table or MAC address Table