Switch is a networking device that connects network segment. It is similar to hubs except that switches are more intelligent than hubs. Switch is capable of inspecting data packets as they are received, determining the source and destination device of that packet.
- Switches control the flow of network traffic based on the address information in each packet. A switch learns which devices are connected to its ports (by monitoring the packets it receives), and then forwards on packets to the appropriate port only. This allows simultaneous communication across the switch, improving bandwidth.
- This switching operation reduces the amount of unnecessary traffic that would have occurred if the same information had been sent from every port (as with a hub).