Layer 2 Switching-Types Of Switching (Guide)

If This is Helpful For You Then Please Do Comment.

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 the type of switching technology.

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

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.

Now,

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 cross 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 basic study about layer 2 switching 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.

Gurpreet Singh
Gurpreet Singh

Hey! I"m Gurpreet Singh and I Have 7+ Years of experience in the Network & Security Domain as well as the Cloud Infra Domain. I am Certified with Cisco ( CCNA ), CheckPoint ( CCSA ), 1xAWS, 3xAZURE, and 3xNSE. So I love to share my tech knowledge with you.

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *