1)Switches operates at layer 2 data link layer.Where as hub operates at layer 1 physical layer. 2)The function of a switch is to learn address,where as in hub there is no address learning. 3)Switches forward/filter decision using MAC address. No filtering is done in case of hub. 4)switches creates separate collision domains but a single broadcast domains.Hub creates single collision domains and a single broadcast domain.