KB 666015 - Network Switches

KB 666015 - Network Switches

What is a Network Switch?

A Switch is a network device that is used to segment the networks into different subnetworks called subnets or LAN segments. It is responsible for filtering and forwarding the packets between LAN segments based on the MAC addresses of the connected devices.

Types of Switches

Virtual Switches: Virtual Switches are the switches that are inside Virtual Machine hosting environments.

Routing Switches: These are the switches that are used to connect LANs.They also have the work of performing functions in the Network Layer of the OSI Model.

Unmanaged Switches: Unmanaged Switches are the devices that are used to enable Ethernet devices that help in automatic data passing. These are generally used for home networks and small businesses. In case of the requirement of more switches, we just add more switches by plug and play method.

Managed Switches: Managed Switches are switches having more complex networks. SNMP (Simple Network Management Protocol) can be used for configuring managed switches. These types of switches are mostly used in large networks having complex architecture. They provide better security levels and precision control, but they are more costly than Unmanaged switches. 

LAN Switches: LAN (Local Area Network) Switches are also called ethernet switches or data switches. LAN switches always try to avoid overlapping of data packets in the network just by allocating bandwidth in such a manner.

PoE Switches: Power Over Ethernet are the switches used in Gigabit Ethernets. PoE help in combining data and power transmission over the same cable so that it helps in receiving data and electricity over the same line.

Smart Switches: Smart Switches are switches having some extra controls on data transmissions but also have extra limitations over managed Switches. They are also called partially managed switches.

Stackable Switches: Stackable switches are connected through a backplane to combine two logical switches into a single switch.

Modular Switches: These types of switches help in accommodating two or more cards. Modular switches help in providing better flexibility.

How Does Switch Works

Once a device is connected to a switch, the switch notes its media access control (MAC) address, a code that’s baked into the device’s network-interface card (NIC).The NIC attaches to an Ethernet cable that connects to the switch. The switch uses the MAC address to identify which device’s outgoing packets are being sent, and where to deliver incoming packets.
The MAC address identifies the physical device and doesn’t change, while the network layer (Layer 3) IP address, can be assigned dynamically to a device and change over time. 




When a packet enters the switch, the switch reads its header, then matches the destination address or addresses and sends the packet out through the appropriate ports that lead to the destination devices.
To reduce the chance for collisions between network traffic going to and from a switch and a connected device at the same time, most switches offer full-duplex functionality in which packets coming from and going to a device have access to the full bandwidth of the switch connection.

Example:



As shown in above figure Laptop wants to send the data packet to the PC, the packet first enters the switch, and the switch reads its header and finds the MAC address of the PC to identify the device then it sends the packet out through the appropriate port 0/5 that lead to the PC.

Switch MAC Address Table

  1. Multiple addresses can be learned on each switch port.
  2. The switch learns source MAC address from packet frame.
  3. Source address and port numbers are stored in MAC address table.
  4. Destination addresses are used make forwarding decisions.
  5. MAC address table is also referred to as CAM table.


    • Related Articles

    • KB 708672 - Configuring Management Interface 0 (eth0) on SONiC 4.5.0 Switch via SONiC CLI

      Purpose: This article provides step-by-step instructions to configure the management interface (Management 0 / eth0) on a SONiC 4.5.0 switch with a static IP and default gateway using the SONiC CLI. Scope: Applicable to Edgecore S-series switches ...
    • KB 470118 - Troubleshooting on Server Network Speed

      Steps to troubleshoot speed on server for 10G NIC Verify Network Configuration Network Adapter Settings: Check the settings of the Intel® Dual Port X710-T2L 10-Gigabit Ethernet Network Adapter on each server. Ensure that the adapter is configured for ...
    • KB 610001 - Switch Radix

      What is a radix network? A radix network, also known as a butterfly network, is a type of switching network used in parallel computing. It's a non-blocking network that can connect multiple inputs to multiple outputs in a grid-like pattern without ...
    • KB 580001 - Cisco Transceiver compatibility with Mikrotik switches

      Question: One of our partners are planning a new project for their end customer. They plan to use Cisco core switches (C9500-48Y4C-A with SFP-10G-SR=) and MikroTik (CRS328-4C-20S-4S+RM with S+85DLC03D) like an aggregation switch to which other ToR ...
    • KB 405743 - Cisco Nexus switch(9312) Unexpected Cluster Connectivity Loss

      1. Summary This article describes an incident where a faulty fan module in a Cisco Nexus leaf switch caused physical-layer instability, leading to intermittent connectivity loss for critical cluster nodes. The issue resulted in a cluster-wide access ...
    • Recent Articles

    • KB-630208 | How to use Find and Locate to search for files in Linux

      Purpose To provide Linux administrators and Field Engineers with guidance on using the find and locate utilities to efficiently search for files and directories within a Linux filesystem based on criteria such as name, type, size, timestamps, ...
    • KB-630164 | How to use rsync to Synchronize Files

      Purpose To provide a clear and practical procedure for using the rsync utility to synchronize files and directories between local systems and remote hosts, including push and pull operations, while preserving file attributes and optimizing data ...
    • KB-630107 | How to create a Linux swap file

      Purpose To provide Field Engineers and Linux administrators with a standardized procedure for creating, configuring, and validating a Linux swap file. This procedure helps ensure sufficient virtual memory is available when physical RAM is exhausted ...
    • MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims

      MSI All-in-One (AIO) PC – Physical Damage Policy for Warranty Claims MSI's standard warranty does not cover physical or accidental damage to an All-in-One (AIO) PC. If the damage is determined to be caused by external factors rather than a ...
    • KB 134833 - Troubleshooting NVSM Alert NV-CPU-XX – Unrecoverable CPU Internal Error

      Purpose This document provides a general troubleshooting procedure for the NVIDIA System Management (NVSM) alert NV-CPU-XX, which indicates that a CPU has reported an internal error. The article outlines how to verify whether the alert represents an ...
    • Popular Articles

    • CP Plus Camera and NVR Configuration

      NVR Configuration The CP Plus Pro Series of NVRs have been meticulously designed for providing you with upgraded performance and higher recording quality in your IP video surveillance solution. The robust processor that has been inculcated in this ...
    • KB 775235 - Kerberos Authentication – Overview

      What is Kerberos? Kerberos is a secure authentication method used in our Active Directory (AD) environment (mbuzztech.com). It allows users to: Access multiple systems without re-entering passwords (Single Sign-On – SSO) Log in once Where We Use It ...
    • How to Remove and Reinstall NVIDIA Drivers on Ubuntu

      This article provides step by step guide to completely remove existing NVIDIA drivers and reinstall specific version of the NVIDIA driver on the Ubuntu system Prerequisites Administrative (sudo) access to the Ubuntu system. Internet access to ...
    • KB 692001 - Personal Computers and Servers - Classification and Point of Contact

      We can classify the computers that MBUZZ handles based on their form-factor as below: Tower Workstations, Desktops, Gaming PCs and SFF (Small form factor) PCs fall under this category. These are computers people would use on a desk and rarely move. ...
    • KB 298031 - M.2 SSD Tier List

      The sequential read and write speeds, which are usually the most advertised number, are not a proper benchmark of real-world performance or the quality of an SSD. This article categorizes and tiers SSDs based on factors like the type of NAND flash, ...