Layer 2 Switching-Types Of Switching (Guide)

Hi….all network guys… we start with the type of switching because in every interview or troubleshooting the first question always is there like how a switch learns the Mac address?

Today big names like Cisco, Juniper, HP, etc make of the switch. all switches have the same function some of the configurations are different. Every switch switches data from source to destination with the help of switching technology.

From this blog maybe you are basically satisfied and this is helping you with your bright knowledge. Switching is a process in that data can be transferred from source to destination. Switches operate at layer 2 in the OSI model i.e. Data Link Layer.

Layer 2 Switching Types Of Switching Guide

Types of Switching

  1. Layer 2 switching
  2. Layer 3 switching
  3. Multilayer switching

Now I can explain to you Layer 2 switching, In layer 2 switching data can be forwarded on the basis of Layer 2 addresses.

Types of layer 2 switching

  1. Ethernet switch
  2. Frame relay switch
  3. ATM switch

Now-Again I can explain in brief Layer 2 Switching

The function of Layer 2 Ethernet switch:

  • Address learning
  • Filtering & Forwarding decision
  • Loop Avoidance

Layer 3 Devices can perform three types of switching

  • Process Switching: devices can perform routing lookups for each received packet.
  • Fast Switching: RP will look up the routing table for the first packet after that SE will generate a shortcut entry in the cache memory and for the next packet, SE will check the short-cut entry and RP will get free.
  • CEF switching (Cisco Express forwarding)

CEF creates two tables FIB and Adjacency table

  • FIB: it is a replica of the routing table.
  • Packet Rewriter: when a packet crosses a layer 3 device, it will always respond to rewrite header checksum, layer 2 information, and TTL.

How does Switch learn mac address?

Layer 2 Switching
  • Dynamically: switch can learn the mac address automatically of devices in its cam table.
  • Statically: we can manually enter the Mac address of devices in the cam table. we can generate a cam table manually to stop unknown unicast broadcasting.

Thanks for reading. This is the primary study about layer 2 switching and how it works or what type of table has formed in switch RAM. In the next blog, we will show how to Switch learn MAC add How to flow frame in a switch to switch & Function of the CAM table.

2 thoughts on “Layer 2 Switching-Types Of Switching (Guide)”

Leave a Comment