what is the difference between layer 1 2 and 3 switches?
Simply put, a layer 3 switch can forward packets between different networks like a router while layer 2 switches forward packets to different segments/or within a given network. Layer 2 is generally hardware i.e. mac address "routing" or mac tables. Layer 3 has to do with ip's.