SlideShare a Scribd company logo
Switching Devices
Network Switches

Definition:
 Network switching devices are hardware components that connect devices in a network and facilitate the
transfer of data between them.

OSI layer of operation
 Layer 2 switch - operate at the data link layer (Layer 2) of the OSI model.
 Layer 3 switch – operate at both data link layer (Layer 2) or the network layer (Layer 3) of the OSI model.

Port density
 Compact switches (8–16 ports) are commonly used in small offices or home networks.
 Larger enterprise-grade switches can have 24, 48, or even more ports.

Port Type:
 Ethernet (RJ45): Common for end-user devices.
 SFP/SFP+: Used for high-speed uplinks or long-distance connections.

Software switching
 An application software that relies on general-purpose processors (CPUs) to handle packet forwarding
 Packet forwarding is implemented in software, making it highly customizable, upgradable, and patchable.
 Provide slower performance limited by the processing power of the CPU, resulting in higher latency
 Suitable for small networks or test environments where cost is a concern.

Hardware switching
 Uses specialized hardware components like Application-Specific Integrated Circuits (ASICs) or Field-
Programmable Gate Arrays (FPGAs) to process and forward packets
 Forwarding logic is implemented directly in the switch's hardware.
 Hardware switching is significantly faster because packet forwarding is done in hardware rather than
software.
 Higher Cost: Specialized hardware like ASICs increases the cost of the device
 Suitable for large-scale networks with high traffic volumes i.e.

Data centers where performance and low latency are critical.

Backbone and core networks.
Switching Component Types

Unmanaged Switches:
 Simple, plug-and-play devices with no configuration options.
 Operate at Layer 2 (data link layer).
 Ideal for small networks or home use where traffic control isn't required.
 Example:

NETGEAR GS105, TP-Link TL-SG1005D.

Managed Switches
 Provide control over network traffic and offer advanced features like VLANs, Quality of Service (QoS), and
monitoring.
 Can be configured and monitored via CLI, web interface, or SNMP.
 Operate at Layer 2 (data link layer) or Layer 3 (network layer)
 Suitable for larger or enterprise networks.
 Example:

Cisco Catalyst series, Aruba 2930F, Juniper EX series.
Switch Types
Network Switch Back Panel
Small Form-Factor Pluggable (SFP)
Network Switch Symbol

Primary Function:
 Operates at the Data Link Layer (Layer 2) of the OSI model, focusing on switching and forwarding based on
MAC addresses.

Key Features:
 MAC Address Table:

Maintains a table of MAC addresses and their associated ports.

Forwards frames based on MAC addresses.
 Broadcast Domains:

By default, all ports belong to the same broadcast domain unless VLANs are configured.

Can create multiple VLANs to segment traffic.
 Routing Capability:

No support for IP routing.

Relies on a router for inter-VLAN communication.
Layer 2 Switch

Speed:
 Ideal for low to medium network traffic.
 Used in smaller networks or at the Access Layer in hierarchical design.

Cost:
 Less expensive compared to Layer 3 switches.
 Suitable for environments with basic connectivity needs.

Example Use Case:
 Connecting workstations, printers, and IP phones within the same VLAN.
Layer 2 Switch contd

Primary Function:
 Operates at both the Data Link Layer (Layer 2) and the Network Layer (Layer 3), performing both switching and routing
based on IP addresses.

Key Features:
 MAC Address Table:

Maintains a table of MAC addresses and their associated ports.

Forwards frames based on MAC addresses.
 IP Routing:

Supports both static routing and routing protocols (e.g., OSPF, EIGRP, RIP).

Can route traffic between VLANs without needing a separate router (Inter-VLAN Routing).
 Broadcast Domains:

Divides broadcast domains by enabling routing between VLANs.

Each VLAN is treated as a separate subnet.

Layer 3 Switch
 Advanced Features:

Supports Access Control Lists (ACLs) for traffic filtering.

Provides Quality of Service (QoS) to prioritize traffic.

May include support for multicast routing.
 Performance:

Designed for medium to large-scale networks with high traffic demands.

Used in Distribution Layer or sometimes in the Core Layer for routing and policy implementation.
 Cost:

More expensive than Layer 2 switches due to advanced features.

Justified in environments where routing and advanced traffic management are required.
 Example Use Case:

Interconnecting VLANs in a multi-department enterprise network.
Layer 3 Switch contd

Address learning refers to the process by which a
network switch learns and builds a MAC address table
(also called a forwarding table) to efficiently forward
Ethernet frames to their intended destinations.

This mechanism is fundamental to how Layer 2
switches operate and ensures optimal network
performance by reducing unnecessary traffic.
Address Learning in Switches

Receiving Frames and building MAC table:
 When a switch receives an Ethernet frame on one of its ports, it inspects the source MAC address in the frame
header.
 The switch associates the source MAC address with the specific port on which the frame was received.
 This entry is stored in the MAC address table for future reference.

Forwarding Decisions:
 When the switch receives a frame, it looks at the destination MAC address:

If the destination MAC address is found in the table, the frame is forwarded only to the port associated with that MAC address
(unicast forwarding).

If the destination MAC address is not found (unknown unicast), the switch floods the frame to all ports except the one it came from.

If the destination is a broadcast (FF:FF:FF:FF:FF:FF), the frame is sent to all ports.

Aging Mechanism:
 MAC address table entries are temporary and have an aging timer.
 If a switch does not receive traffic from a particular MAC address within the timer period (default is usually 300
seconds), the entry is removed to free up table space.
How Address Learning Works
Address Learning in Switches contd.
End

More Related Content

PPTX
Layer 2 and Layer 3 Switches - Features and Applications.pptx
PDF
A Presentation About Network Switches.pdf
PPTX
Westermo webinar: Learning the Basics of Ethernet Networking
PPTX
Networkswitch
PPTX
Network switch
PPT
Introduction to Layer 2 switching
PPTX
The Basics of Industrial Ethernet Communications
Layer 2 and Layer 3 Switches - Features and Applications.pptx
A Presentation About Network Switches.pdf
Westermo webinar: Learning the Basics of Ethernet Networking
Networkswitch
Network switch
Introduction to Layer 2 switching
The Basics of Industrial Ethernet Communications

Similar to 2. Lecturer 2 - Switching Devices - Layer 2 and Layer 3 Switches.pdf (20)

PDF
Understanding Network Switches- .pdf
PPTX
Network switch
PPTX
Network switch
PPT
Networkdevices by Jetarvind kumar madhukar
PDF
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
PPT
Chapter 1 How to Design a LAN
PPT
Net essentials6e ch7
PPTX
Tcp/ip Protocol presentation on Networking .pptx
PDF
1.NggggggggggghhhhhhhhhhS UNIT - 1.pptx.pdf
PPTX
Basic Networking
PPTX
IT and Its devices, Switch Presentation.pptx
PPTX
CN Unit 2 PPT.pptx
PPT
PPT
PPT
CCNA PPT
PDF
Ccna day4-140715152437-phpapp01
PPT
Ccna day4
PPTX
27 Switching.pptx
PDF
Network switch : Notes
DOCX
Network switches, functions & role in networks
Understanding Network Switches- .pdf
Network switch
Network switch
Networkdevices by Jetarvind kumar madhukar
Imperfection_Is_Beautiful.111_2016_04_13_19_07_54_722
Chapter 1 How to Design a LAN
Net essentials6e ch7
Tcp/ip Protocol presentation on Networking .pptx
1.NggggggggggghhhhhhhhhhS UNIT - 1.pptx.pdf
Basic Networking
IT and Its devices, Switch Presentation.pptx
CN Unit 2 PPT.pptx
CCNA PPT
Ccna day4-140715152437-phpapp01
Ccna day4
27 Switching.pptx
Network switch : Notes
Network switches, functions & role in networks
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Machine Learning_overview_presentation.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
MIND Revenue Release Quarter 2 2025 Press Release
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf
sap open course for s4hana steps from ECC to s4
Spectral efficient network and resource selection model in 5G networks
Reach Out and Touch Someone: Haptics and Empathic Computing
Programs and apps: productivity, graphics, security and other tools
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25-Week II
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine Learning_overview_presentation.pptx
Approach and Philosophy of On baking technology
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Digital-Transformation-Roadmap-for-Companies.pptx
A Presentation on Artificial Intelligence
MIND Revenue Release Quarter 2 2025 Press Release
Ad

2. Lecturer 2 - Switching Devices - Layer 2 and Layer 3 Switches.pdf

  • 2. Network Switches  Definition:  Network switching devices are hardware components that connect devices in a network and facilitate the transfer of data between them.  OSI layer of operation  Layer 2 switch - operate at the data link layer (Layer 2) of the OSI model.  Layer 3 switch – operate at both data link layer (Layer 2) or the network layer (Layer 3) of the OSI model.  Port density  Compact switches (8–16 ports) are commonly used in small offices or home networks.  Larger enterprise-grade switches can have 24, 48, or even more ports.  Port Type:  Ethernet (RJ45): Common for end-user devices.  SFP/SFP+: Used for high-speed uplinks or long-distance connections.
  • 3.  Software switching  An application software that relies on general-purpose processors (CPUs) to handle packet forwarding  Packet forwarding is implemented in software, making it highly customizable, upgradable, and patchable.  Provide slower performance limited by the processing power of the CPU, resulting in higher latency  Suitable for small networks or test environments where cost is a concern.  Hardware switching  Uses specialized hardware components like Application-Specific Integrated Circuits (ASICs) or Field- Programmable Gate Arrays (FPGAs) to process and forward packets  Forwarding logic is implemented directly in the switch's hardware.  Hardware switching is significantly faster because packet forwarding is done in hardware rather than software.  Higher Cost: Specialized hardware like ASICs increases the cost of the device  Suitable for large-scale networks with high traffic volumes i.e.  Data centers where performance and low latency are critical.  Backbone and core networks. Switching Component Types
  • 4.  Unmanaged Switches:  Simple, plug-and-play devices with no configuration options.  Operate at Layer 2 (data link layer).  Ideal for small networks or home use where traffic control isn't required.  Example:  NETGEAR GS105, TP-Link TL-SG1005D.  Managed Switches  Provide control over network traffic and offer advanced features like VLANs, Quality of Service (QoS), and monitoring.  Can be configured and monitored via CLI, web interface, or SNMP.  Operate at Layer 2 (data link layer) or Layer 3 (network layer)  Suitable for larger or enterprise networks.  Example:  Cisco Catalyst series, Aruba 2930F, Juniper EX series. Switch Types
  • 5. Network Switch Back Panel Small Form-Factor Pluggable (SFP)
  • 7.  Primary Function:  Operates at the Data Link Layer (Layer 2) of the OSI model, focusing on switching and forwarding based on MAC addresses.  Key Features:  MAC Address Table:  Maintains a table of MAC addresses and their associated ports.  Forwards frames based on MAC addresses.  Broadcast Domains:  By default, all ports belong to the same broadcast domain unless VLANs are configured.  Can create multiple VLANs to segment traffic.  Routing Capability:  No support for IP routing.  Relies on a router for inter-VLAN communication. Layer 2 Switch
  • 8.  Speed:  Ideal for low to medium network traffic.  Used in smaller networks or at the Access Layer in hierarchical design.  Cost:  Less expensive compared to Layer 3 switches.  Suitable for environments with basic connectivity needs.  Example Use Case:  Connecting workstations, printers, and IP phones within the same VLAN. Layer 2 Switch contd
  • 9.  Primary Function:  Operates at both the Data Link Layer (Layer 2) and the Network Layer (Layer 3), performing both switching and routing based on IP addresses.  Key Features:  MAC Address Table:  Maintains a table of MAC addresses and their associated ports.  Forwards frames based on MAC addresses.  IP Routing:  Supports both static routing and routing protocols (e.g., OSPF, EIGRP, RIP).  Can route traffic between VLANs without needing a separate router (Inter-VLAN Routing).  Broadcast Domains:  Divides broadcast domains by enabling routing between VLANs.  Each VLAN is treated as a separate subnet.  Layer 3 Switch
  • 10.  Advanced Features:  Supports Access Control Lists (ACLs) for traffic filtering.  Provides Quality of Service (QoS) to prioritize traffic.  May include support for multicast routing.  Performance:  Designed for medium to large-scale networks with high traffic demands.  Used in Distribution Layer or sometimes in the Core Layer for routing and policy implementation.  Cost:  More expensive than Layer 2 switches due to advanced features.  Justified in environments where routing and advanced traffic management are required.  Example Use Case:  Interconnecting VLANs in a multi-department enterprise network. Layer 3 Switch contd
  • 11.  Address learning refers to the process by which a network switch learns and builds a MAC address table (also called a forwarding table) to efficiently forward Ethernet frames to their intended destinations.  This mechanism is fundamental to how Layer 2 switches operate and ensures optimal network performance by reducing unnecessary traffic. Address Learning in Switches
  • 12.  Receiving Frames and building MAC table:  When a switch receives an Ethernet frame on one of its ports, it inspects the source MAC address in the frame header.  The switch associates the source MAC address with the specific port on which the frame was received.  This entry is stored in the MAC address table for future reference.  Forwarding Decisions:  When the switch receives a frame, it looks at the destination MAC address:  If the destination MAC address is found in the table, the frame is forwarded only to the port associated with that MAC address (unicast forwarding).  If the destination MAC address is not found (unknown unicast), the switch floods the frame to all ports except the one it came from.  If the destination is a broadcast (FF:FF:FF:FF:FF:FF), the frame is sent to all ports.  Aging Mechanism:  MAC address table entries are temporary and have an aging timer.  If a switch does not receive traffic from a particular MAC address within the timer period (default is usually 300 seconds), the entry is removed to free up table space. How Address Learning Works
  • 13. Address Learning in Switches contd.
  • 14. End