Switches manage the flow of data across a network by transmitting a received network packet only to the one or more devices for which the packet is intended. ... An Ethernet switch operates at the data link layer (layer 2) of the OSI model to create a separate collision domain for each switch port.