The ethernet switch connects devices together on a computer network by using packet switching. It is also referred to as network switch.
An ethernet switch has a switching table which is updated by OSPF or BGP.
The forwarding table contains MAC address table that contains a MAC address and port number.