Switches store the MAC addresses in an internal database called MAC Address Table. The entries in that table can be addresses learned by the switch or that can be entered manually by the switch administrator. This table is analogy to a router's routing table, only a switch operates at layer 2 whereas the router operate at Layer 3.
MAC address stored in NIC card
Packets will be transmitted out of all switch ports except for the port where the packets were received. It's called flooding.
The source MAC address within a frame is used by the switch to associate a port with that MAC address. Frames are directed by the switch from one port to another based on the destination MAC address within the frame.
A switch would record multiple entries for a single switch port in its MAC address table if it does not contain the Mac address of a particular destination in the address table. It will broadcast to all ports besides the port where entry comes from.
address resolution protocol is used when the switch used to build the dynamic mac address table.
Switch working in Data link layer of OSI Model which is working my MAC address it is sending receiving packets by Mac address which switch make mac tale in RAM to save all information.
The source MAC address
source mac address
Source MAC address and source port
A switch floods a frame when it doesn't have the destination MAC address in its MAC address table. The frame is then forwarded out of all interfaces except the one it was received on in an attempt to find the correct host.
No. Hubs simply repeat all the Ethernet frames on all ports and do not interfere with the source or destination MAC addresses and as such do not need their own MAC address.
A switch uses MAC address to forward frames while a router uses IP addresses.