All Episodes

November 17, 2020 2 mins

What is Switch in Computer Networks?

The switch is one of the network hardware that allows PCs and other network equipment to be integrated with each other. OSI works in layer 2 of the seven-layer model and also in layer 3, as new switches are capable of IP routing.

Each of the network switches can exchange data independently of the others. When a data packet reaches one of the ports, the network key records the sender's Mac address and the sent port in the address table.

It tries to detect the port to which the target MAC address is connected by examining the existing records in the MAC address table. If no record is found, the data packet is sent to all ports except the incoming port. If the mac address is known, then the data packet is only sent to the destination port. If the sender's and receiver's MAC addresses are the same, the packet is deleted.

Managed and Unmanaged Switches

Basic network switches, such as those used in consumer routers, do not require any special configuration beyond plugging in cables and power.

Compared to these unmanaged switches, high-end devices used in corporate networks support a range of advanced features designed to be controlled by a professional administrator. Popular features of managed switches include SNMP monitoring, link aggregation, and QoS support.

Traditionally managed switches are created to be controlled from Unix-style command-line interfaces. A newer category of managed switches called smart switches that target entry-level and mid-level corporate networks to support web-based interfaces similar to a home router.

How Does Switch Work?

Switches connect devices (such as computers, printers, wireless access points) on a network and allow them to communicate by exchanging data packets. Switches can be software-based virtual devices as well as hardware devices that manage physical networks.

Switches make up the majority of network devices in modern data networks. They provide wired connections to desktop computers, wireless access points, industrial machines, and some IoT devices such as card entry systems.

They connect the computers that host virtual machines (VMs) in data centers, as well as physical servers and most of the storage infrastructure. They carry large amounts of traffic on their telecommunications provider networks.

A network switch operates on the network layer L2 of the OSI model. In a local area network (LAN) using Ethernet, a network switch determines where each incoming message frame is sent by examining the physical device address or MAC address. The switches hold tables that match each MAC address and the port from which the MAC address is obtained.

More Podcasts

Mark as Played

Advertise With Us

Popular Podcasts

On Purpose with Jay Shetty

On Purpose with Jay Shetty

I’m Jay Shetty host of On Purpose the worlds #1 Mental Health podcast and I’m so grateful you found us. I started this podcast 5 years ago to invite you into conversations and workshops that are designed to help make you happier, healthier and more healed. I believe that when you (yes you) feel seen, heard and understood you’re able to deal with relationship struggles, work challenges and life’s ups and downs with more ease and grace. I interview experts, celebrities, thought leaders and athletes so that we can grow our mindset, build better habits and uncover a side of them we’ve never seen before. New episodes every Monday and Friday. Your support means the world to me and I don’t take it for granted — click the follow button and leave a review to help us spread the love with On Purpose. I can’t wait for you to listen to your first or 500th episode!

Stuff You Should Know

Stuff You Should Know

If you've ever wanted to know about champagne, satanism, the Stonewall Uprising, chaos theory, LSD, El Nino, true crime and Rosa Parks, then look no further. Josh and Chuck have you covered.

Dateline NBC

Dateline NBC

Current and classic episodes, featuring compelling true-crime mysteries, powerful documentaries and in-depth investigations. Follow now to get the latest episodes of Dateline NBC completely free, or subscribe to Dateline Premium for ad-free listening and exclusive bonus content: DatelinePremium.com

Music, radio and podcasts, all free. Listen online or download the iHeart App.

Connect

© 2025 iHeartMedia, Inc.