In network terminology, a switch is a network device that acts at the data link layer. On ethernet, a switch has several ports which can be connected to other switches, repeaters, routers, or hosts. When a switch receives a frame on a port, it forwards the frame out another port based on the MAC address. This segments the ethernet and relieves network congestion, compared to a repeater which would forward the frame out all ports.