Introduction to Layer 2 switching

19
Layer 2 Switching

description

Introduction to Layer 2 switching

Transcript of Introduction to Layer 2 switching

Page 1: Introduction to Layer 2 switching

Layer 2 Switching

Page 2: Introduction to Layer 2 switching

Layer 2 switching is the process of using the hardware address of devices on a LAN to segment a network

Page 3: Introduction to Layer 2 switching

What Does Switching do…?Switching breaks up large collision domains

into smaller onesCollision domain is a network segment with

two or more devices sharing the same bandwidth

Each port on a switch is actually its own collision domain

Page 4: Introduction to Layer 2 switching

Before Layer 2 Switching

Page 5: Introduction to Layer 2 switching

First Switched Network

Page 6: Introduction to Layer 2 switching

Typical Switched Network Design

Page 7: Introduction to Layer 2 switching

Switching ServicesSwitches use ASICApplication Specific Integrated CircuitsLayer 2 Switches are faster then RoutersSwitches create private, dedicated collision

domains and provide independent bandwidth on each port, unlike hubs.

Page 8: Introduction to Layer 2 switching

What makes layer 2 switching so efficient..?no modification to the data packet takes

place. The device only reads the frame

encapsulating the packet, which makes the switching process considerably faster and less error-prone than routing processes are.

Page 9: Introduction to Layer 2 switching

Bridging vs. LAN Switching Bridges are software based, while switches are hardware based because

they use ASIC chips to help make filtering decisions.

A switch can be viewed as a multiport bridge.

There can be only one spanning-tree instance per bridge, while switches can have many.

Switches have a higher number of ports than most bridges.

Both bridges and switches forward layer 2 broadcasts.

Bridges and switches learn MAC addresses by examining the source address of each

frame received.

Both bridges and switches make forwarding decisions based on layer 2 addresses.

Page 10: Introduction to Layer 2 switching

Three Switch Functions at Layer 2

Address learningforward/filter

decisionsloop avoidance

Page 11: Introduction to Layer 2 switching

Cisco Switches

Page 12: Introduction to Layer 2 switching

Broadcast Storm

Page 13: Introduction to Layer 2 switching

Loop AvoidanceRedundant links between switches are a good

idea because they help prevent complete network failures in the event one link stops working.

If no loop avoidance schemes are put in place, the switches will flood broadcasts endlesslythroughout the internetwork. This is sometimes referred to as a broadcast storm.

Page 14: Introduction to Layer 2 switching

Multiple Frame Copies

Page 15: Introduction to Layer 2 switching

Solution

Spanning Tree Protocol to the Rescue

Page 16: Introduction to Layer 2 switching

Layer 3 SwitchA Layer 3 switch works much like a router because it has

the same IP routing table for lookups and it forms a broadcast domain. However, the “switch” part of “Layer 3 switch” is there because:

The layer 3 switch looks like a switch. It has 24+ Ethernet ports and no WAN interfaces.

The layer 3 switch will act like a switch when it is connecting devices that are on the same network.

The layer 3 switch is the same as a switch with the router’s IP routing intelligence built in.

The switch works very quickly to switch or route the packets it is sent.

In other words, the Layer 3 switch is really like a high-speed router without the WAN connectivity.

Page 17: Introduction to Layer 2 switching

Why we need it ?

Routing functionality of the Layer 3 switch is there to route between different subnets or VLANs on a campus LAN or any sort of large LAN.

This means that the Layer 3 switch is really for large Ethernet networks that need to subnet into smaller networks. Most of the time, this is done using VLANs.

Page 18: Introduction to Layer 2 switching

Cisco Catalyst 3560V2-24TS-S Layer-3 Switch

Today PKR 282367.23

Source: http://www.overstock.com/Electronics/Cisco-Catalyst-3560V2-24TS-S-Layer-3-Switch/4059744/product.html

Page 19: Introduction to Layer 2 switching

Vendors

Cisco (http://www.cisco.com/)Juniper (http://www.juniper.net/us/en/)Huawei(http://www.huawei.com/en/)Maipu (http://www.maipu.com/)Foundary

(http://www.brocade.com/index.page)