ArticleslgStudy

computer science

Network switch

Network switch is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Network switch rather than just read about it. In short: A network switch (also called switching hub, bridging hub, Ethernet switch, and—by the IEEE—MAC bridge) is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. Ethernet was initially a shared-access medium, but the introduction of the MAC bridge began its transformation into its most-common point-to-point form without a colli…

Network switch — main illustration
Network switch — illustration

Key takeaways

  • Network switch belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Network switch to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Network switch from memory before moving on to harder problems.

Reference excerpt

A network switch (also called switching hub, bridging hub, Ethernet switch, and—by the IEEE—MAC bridge) is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. Ethernet was initially a shared-access medium, but the introduction of the MAC bridge began its transformation into its most-common point-to-point form without a collision domain. Unlike repeater hubs, which broadcast the same data out of each port and let the devices pick out the data addressed to them, a network switch learns the MAC addresses of connected devices and then only forwards data to the port connected to the device to which it is addressed. Some switches can also forward data based on IP addresses by additionally incorporating routing functionality. Such switches are commonly known as layer-3 switches or multilayer switches. Switches for Ethernet are the most common form of network switch. The first MAC Bridge was invented in 1983 by Mark Kempf, an engineer in the Networking Advanced Development group of Digital Equipment Corporation (DEC). The first two-port bridge product (LANBridge 100) was introduced by that company shortly after. The company subsequently produced multi-port switches for both Ethernet and FDDI. DEC decided to license its MAC Bridge patent on a royalty-free, non-discriminatory basis that allowed IEEE standardization. This permitted a number of other companies to produce multi-port switches, including Kalpana. Switches also exist for other types of networks, including Fibre Channel, Asynchronous Transfer Mode, and InfiniBand.

Overview A switch is a device in a computer network that connects other devices together. Multiple data cables are plugged into a switch to enable communication between different networked devices. 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. Each networked device connected to a switch can be identified by its network address, allowing the switch to direct the flow of traffic, maximizing the security and efficiency of the network. A switch is more intelligent than an Ethernet hub, which simply retransmits packets out of every port of the hub except the port on which the packet was received, unable to distinguish different recipients, and achieves an overall lower network efficiency. 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. Each device connected to a switch port can transfer data to any of the other ports at any time and the transmissions will not interfere. Because broadcasts are still being forwarded to all connected devices by the switch, the newly formed network segment continues to be a broadcast domain. Switches may also operate at higher layers of the OSI model, including the network layer and above. A switch that also operates at these higher layers is known as a multilayer switch. Segmentation involves the use of a switch to split a larger collision domain into smaller ones in order to reduce collision probability and to improve overall network throughput. In the extreme case (i.e., micro-segmentation), each device is directly connected to a switch port dedicated to the device. In contrast to an Ethernet hub, there is a separate collision domain on each switch port. This allows computers to have dedicated bandwidth on point-to-point connections to the network and also to run in full-duplex mode. Full-duplex mode has only one transmitter and one receiver per collision domain, making collisions impossible. The network switch plays an integral role in most modern Ethernet local area networks (LANs). Mid-to-large-sized LANs contain a number of linked managed switches. Small office/home office (SOHO) applications typically use a single switch, or an all-purpose device such as a residential gateway to access small office/home broadband services such as DSL or cable Internet. In most of these cases, the end-user device contains a router and components that interface to the particular physical broadband technology. Many switches and routers have pluggable modules, such as Small Form-factor Pluggable (SFP) modules. These modules often contain a transceiver that connects the switch to a physical medium, such as a fiber optic cable. Alternatively, DAC (Direct Attach Copper) cables may be used in place of modules. These modules were preceded by Medium Attachment Units connected via Attachment Unit Interfaces to switches and have evolved over time: the first modules were Gigabit interface converters, followed by XENPAK modules, SFP modules, XFP transceivers, SFP+ modules, QSFP, QSFP-DD, and OSFP modules. Pluggable modules are also used for transmitting video in broadcast applications. With the advent of increased speeds together with Co-packaged optics (CPO), which bring the transceivers close to the switching chip of the switch, reducing power consumption, pluggable modules become replaceable laser light sources, and fiber optics are connected directly to the front of the switch instead of through pluggable modules. CPO is also considerably easier to adapt to water cooling.

… excerpt ends here. Continue reading the full article.

Illustrations

Network switch illustration
Network switch illustration
Network switch: A modular network switch with three network modules (a total of 36 Ethernet ports) and one power supply
A modular network switch with three network modules (a total of 36 Ethernet ports) and one power supply
Network switch: A five-port layer-2 switch without management functionality
A five-port layer-2 switch without management functionality
Network switch: A rack-mounted 24-port 3Com switch
A rack-mounted 24-port 3Com switch

Worked examples

Example 1 — a first encounter with Network switch

Start with the simplest possible case. Write down what Network switch claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Network switch before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Network switch ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Network switch

In research
Network switch appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Network switch in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Network switch is common in secondary-school and first-year university syllabi. It links to neighbouring topics Data center technology, Ethernet, Networking hardware, so understanding it makes those chapters shorter.
In everyday life
Look for Network switch outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Network switch” →

How to study Network switch in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Network switch means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Network switch out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Network switch in simple terms?

A network switch (also called switching hub, bridging hub, Ethernet switch, and—by the IEEE—MAC bridge) is networking hardware that connects devices on a computer network by using packet switching to receive and forward data to the destination device. Ethernet was initially a shared-access medium…

Why does Network switch matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Network switch?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Network switch.

Tags

  • Data center technology
  • Ethernet
  • Networking hardware

Keep exploring