In a telecommunications network, a switch is a device that channels incoming data from any of multiple input ports to the specific output port that will take the data toward its intended destination. In the traditional circuit-switched telephone network, one or more switches are used to set up a dedicated though temporary connection or circuit for an exchange between two or more parties. On an Ethernet local area network (LAN), a switch determines from the physical device (Media Access Control or MAC) address in each incoming message frame which output port to forward it to and out of. In a wide area packet-switched network such as the Internet, a switch determines from the IP address in each packet which output port to use for the next part of its trip to the intended destination.
In the Open Systems Interconnection (OSI) communications model, a switch performs the Layer 2 or Data-link layer function. That is, it simply looks at each packet or data unit and determines from a physical address (the "MAC address") which device a data unit is intended for and switches it out toward that device. However, in wide area networks such as the Internet, the destination address requires a look-up in a routing table by a device known as a router. Some newer switches also perform routing functions (Layer 3 or the Network layer functions in OSI) and are sometimes called IP switches.
On larger networks, the trip from one switch point to another in the network is called a hop. The time a switch takes to figure out where to forward a data unit is called its latency. The price paid for having the flexibility that switches provide in a network is this latency. Switches are found at the backbone and gateway levels of a network where one network connects with another and at the subnetwork level where data is being forwarded close to its destination or origin. The former are often known as core switches and the latter as desktop switches.
In the simplest networks, a switch is not required for messages that are sent and received within the network. For example, a local area network may be organized in a token ring or bus arrangement in which each possible destination inspects each message and reads any message with its address.
Circuit-Switching version Packet-Switching
A network's paths can be used exclusively for a certain duration by two or more parties and then switched for use to another set of parties. This type of "switching" is known as circuit-switching and is really a dedicated and continuously connected path for its duration. Today, an ordinary voice phone call generally uses circuit-switching.
Most data today is sent, using digital signals, over networks that use packet-switching. Using packet-switching, all network users can share the same paths at the same time and the particular route a data unit travels can be varied as conditions change. In packet-switching, a message is divided into packets, which are units of a certain number of bytes. The network addresses of the sender and of the destination are added to the packet. Each network point looks at the packet to see where to send it next. Packets in the same message may travel different routes and may not arrive in the same order that they were sent. At the destination, the packets in a message are collected and reassembled into the original message.
Getting started with switches
To learn more about switches, here are additional resources
Advanced routing and switching considerations: Routing and switching, the core functions of any network, are becoming more intelligent, with even low-end products now including features once only available to enterprise data centers. Learn the routing and switching considerations that every solution provider should know before offering their services.
Application switch testing: An easy RFP guide: Application switches do a lot more load balancing these days. So network professionals doing application switch testing must consider everything from DPI to basic transport, according to a new Tolly Group RFP guide.
Testing LAN switch interoperability: A series of best practices: Ensuring LAN switch interoperability is crucial when extending existing LANs or building new ones. The Tolly Group compiled a list of functions that must be tested to ensure true interoperability.
Learn more about Telecom Routing and Switching
Smart grid technology primer: Utilities, vendors and telecom providers are focused on smart grid technology to improve energy transmission, distribution and management using infrastructure like 4G wireless.
Evolved Packet Core primer: Learn about the Evolved Packet Core for LTE and how it converges voice and data for 4G wireless networks.
Advanced BGP network design for stability and security: Working with Border Gateway Protocol (BGP) in an IP network can challenge even the best network engineers. Yet mastering it will yield a more stable and secure network.
BGP essentials: The protocol that makes the Internet work: Border Gateway Protocol (BGP) is the routing protocol that literally makes the Internet work, yet its complexity makes it essential to know how to troubleshoot problems quickly.
Route maps and routing policy: Route maps and how to configure them for routing policies is explained. This chapter also discusses redistribution, quality of service, and route tagging
Get an overview of the Brocade VDX 8770 data center-class switch series, equipped for highly virtualized environments.
This product overview focuses on the Cisco Nexus 9500 family of switches, which is designed for enterprises and highly virtualized data centers. Then get more info about the models, features and pricing of the Cisco Nexus 7700 switch series.
Learn about the Dell E-series of data center-class switches.
Learn more about the features of the HP FlexFabric 12500 data center class switch. Then take a look at an overview of the HP FlexFabric 12900 series, a line of data center-class switch fabrics for highly virtualized environments.
Get a breakdown of the Juniper EX9200 data center-class switch features.
After you've reviewed each of the products above, take a look at our comparison of the top data center-class switches.