A table below contains the major difference between hub and switch:
Hub | Switch |
---|---|
A hub works at the physical layer of the OSI model. | A switch works at the data link layer of the OSI model. |
A hub contains a single domain of collision. | In switch, several ports include separate collision domains. |
It performs frame flooding, which can be broadcast, unicast, or multicast. | It mainly performs broadcast, and also performs unicast and multicast when required. |
In the hub, the transmission mode is Half-duplex | In switch, the transmission mode is full-duplex. |
It uses electrical signal orbits. | It uses frame & packet. |
It does not support the Spanning-Tree protocol. | It supports Multiple Spanning-Tree. |
In the hub, mostly collisions occur in setup. | In full-duplex switch does not occur collisions. |
It is a passive device. | It is an active device. |
A hub is not capable of storing MAC addresses. | It uses accessible content memory, which can be accessed by application-specific integrated chips (ASIC). |
It is not an intelligent device. | A switch is an intelligent device. |
The speed of the hub network is up to 10 Mb per second. | The speed of switch is 10/100 Mbps, 1 Gbps, and 10 Gbps. |