LAN Switching and Switch Types

Understanding the Different Switching Technologies

Before delving into the different switching technologies, you have to understand the functions performed within the different layers of the OSI reference model to understand how both routers and switches interoperate, and how the different switching technologies work.

The different layer of the OSI reference model, and the functions performed by each layer are summarized below:

Data encapsulation is the process whereby which the information in a protocol is wrapped within the data section of another protocol. When a layer of the OSI reference model receives data, the layer places this data behind its header and before its trailer, and thus encapsulates the data of the higher layer. In short, each layer encapsulates the layer directly over it when data moves through the protocol stack. Since the Physical layer does not use headers and trailer, no data encapsulation is performed at this layer.

Each layer of the OSI reference model exchanges Protocol Data Units (PDUs). The PDUs are added to the data at each layer of the OSI reference model.

Each layer that adds PDUs to data has a unique name for that specific protocol data unit:

The data encapsulation process is illustrated below:

  1. Data is created by the user.
  2. At the Transport layer, data is changed into segments.
  3. At the Network layer, segments are changed into packets or datagrams, and routing information is appended to the protocol data unit.
  4. At the Data Link layer, the packets or datagrams are changed to frames.
  5. At the Physical layer, the frames are changed into bits – 1s and 0s are encoded in the digital signal, and are then transmitted.

Layer 2 Switching Overview

While an Ethernet switch utilizes the same logic as a transparent bridge, switches use hardware to learn addresses to make filtering decisions and forwarding decisions. Bridges on the other hand utilize software running on general purpose processors. Switches provide more features and functions when compared to bridges. Switches have more physical ports as well.

The basic forward and filter logic used by a switch is illustrated here:

  1. The frame is received.
  2. When the destination is a unicast address and the address does exist in the address table, and the interface is not the same interface where the frame was received, the frame is forwarded.
  3. When the destination is a unicast address and the address does not exist in the address table, the frame is forwarded out on all ports.
  4. When the destination is a broadcast or multicast address, the frame is forwarded out on all ports.

Switches utilize application specific integrated circuits (ASICs) to create filter tables and to maintain the content of these tables. Because Layer 2 switches do not utilize and reference Network layer header information, they are faster than both bridges and routers. Layer 2 switching is hardware based. The Media Access Control (MAC) address of the network interface cards (NICs) of the host is utilized to filter the network.
In short, switches use the hardware addresses of the frame to determine whether the frame would be forwarded or dropped. Layer 2 switching does not change the data packet – only the frame encapsulating the packet is read! This basically makes switching a faster process than the routing process.

The primary differences between bridges and Layer 2 switches are listed here:

A few Layer 2 switching benefits include:

There are a though a few limitations associated with Layer 2 switching. Broadcasts and multicasts can cause issues when the network expands. Another issue is the slow convergence time of the Spanning-Tree Protocol (SPT). Collision domains also have to be broken up correctly.

Switch Functions Associated with Layer 2 Switching

There are three main functions performed by Layer 2 switching:

The common problems caused by creating redundant links between switches are listed here:

Routing Overview

While routers and Layer 3 switches can be considered as being similar in concept, their design differs. Before discussing Layer 3 switching, lets first summarize some important factors on routing and routers.

Routers operate at the Network layer of the OSI reference model to route data to remote destination networks. Routers use Layer 3 headers and logic to perform routing of packets. Routers use Routing table information that contains information on how the remote destination networks can be reached, to make routing decisions. Cisco routers maintain a Routing table for each network protocol. Using routers can be considered as being a better option than using bridges. While bridges filter by MAC address, routers filter by IP address. Bridges forward a packet to all segments that it is connected to. Routers on the other hand only forward the packet to the particular network segment that the packet, is in fact, intended for. The default configuration is that the router does not forward broadcasts and multicast frames.

A few benefits of routing are listed here:

Layer 3 Switching Overview

As mentioned previously, the main difference between Layer 3 switches and routers is the physical design. Other than this, routers and Layer 3 switches perform similar functions. Layer 3 switches can be placed anywhere in the network to process high-performance LAN traffic. In fact, Layer 3 switches can replace routers.

The main functions of Layer 3 switches are listed here:

A few benefits of Layer 3 switching include:

Layer 4 Switching Overview

Layer 4 switching is a Layer 3 hardware based switching technology that can also provide routing over Layer 3. Layer 4 switching works by taking into account the application which was used. Layer 4 switching examines the port numbers contained within the Transport layer header to make routing decisions. The ports in the Transport layer header pertain to the upper layer protocol or application, and are defined in Request for Comments (RFC) 1700.

The characteristics of Layer 4 switching are listed here:

Multi-Layer Switching (MLS) Overview

Multi-layer switching (MLS) is the terminology used to describe the situation or technology whereby Layer 2, Layer 3, and Layer 4 switching technologies are combined. Multi-layer switching (MLS) works on the concept of routing one and switching many.

Multi-layer switching can make routing decisions using the following:

The features of Multi-Layer Switching (MLS) are summarized below:

To read the information in the packet header, the Cisco Catalyst switches need certain hardware:

The Cisco MLS implementation requires the following components:

Cisco Catalyst Switches Overview

To better understand the capabilities and features provided by the Cisco Catalyst switches, you have to understand how the Cisco hierarchical model works. Specific Catalyst switches are suited for specific layers of the Cisco hierarchical model.

To meet the requirements of a scalable network design and alleviate network congestion, Cisco recommends a network design structure that maintains a scalable, reliable, hierarchical, and cost-effective network design. The primary objective of the Cisco hierarchical model network design is to through its different layers prevent unnecessary traffic from passing through to the upper layers. Traffic which is considered applicable or relevant should only be passed to the network. This logic results in a reduction of network congestion, which in turn means that your network can scale better

Cisco defines the following layers within the Cisco hierarchical model. Each layer has specific functions and responsibilities associated with it:

The Cisco switches are designed to fall within the Cisco hierarchical model:

Understanding LAN Switch Types

LAN switching uses hardware destination as the basis to forward and filter frames. LAN switch types determine the way in which a frame gets processed when the frame arrives at a switch port. The LAN switch type or switching mode that is elected has a direct impact on latency. Each LAN switch type has its own advantages and disadvantages associated with it.

The different LAN switch types are listed, and explained here:



Top 5 Free Networking Tools

Bookmark LAN Switching and Switch Types

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.