CCNA1 M8 Ethernet Switching
CCNA1 M8 Ethernet Switching
Objectives
Define bridging and switching. Explain Spanning-Tree Protocol (STP). Collision domains and broadcast domains Data flow and network segmentation
Ethernet Switching
Segmentation
Layer 2 Bridging
When a frame comes, bridge check the source address with the MAC table
If there was a mapping between the source address and the receiving port, then ignores Else, update MAC table with the source address and the receiving port
Layer 2 Switching
Rather than creating two collision domains, each port creates its own collision domain (micro-segmentation). A switch dynamically builds and maintains a Content-Addressable Memory (CAM) table, holding all of the necessary MAC information for each port.
Switch benefits
Provide micro-segmentation Double bandwidth between nodes Collision-free transmission Two 10- or 100- Mbps data path Allow multiple circuits simultanously
Latency
Latency is the delay between the time a frame first starts to leave the source device and the time the first part of the frame reaches its destination. Factors that cause delay are: Media delays. Circuit delays. Software delays. Delays caused by the content of the frame and where in the frame switching decisions can be made.
Switching methods
Store-and-forward:
The entire frame is received before forward. Increases latency with larger frames. Error detection is high. Immediately forward a packet after checking the destination address. No error checking Offers the lowest level of latency Forwards a packet after receiving the first 64 bytes. Filters out collision packets (size < 64 bytes)
Cut-through:
Fragment-free switching:
Forwarding Decision
Switch Mode
With cut-through methods of switching, both the source port and destination port must be operating at the same bit rate in order to keep the frame intact. This is called synchronous switching. If the bit rates are not the same, the frame must be stored at one bit rate before it is sent out at the other bit rate. This is known as asynchronous switching. Storeand-forward mode must be used for asynchronous switching.
Switching modes
Switching Loop
ad Bro
! torm S t c as
When multiple switches are designed with redundant paths to provide for reliability and fault tolerance in a simple hierarchical tree, switching loops are unlikely to occur.
Spanning-Tree Protocol
e Fram ast c d a Bro
Standby Link
Main function of the Spanning Tree Protocol (STP) is to allow redundant switched/bridged paths without suffering the effects of loops in the network
Round-Trip Delay
The 5-4-3-2-1 rule also provides guidelines to keep roundtrip delay time in a shared network within acceptable limits.
Layer 2 devices forward broadcast and if excessive, can reduce the efficiency of the entire LAN. Broadcasts must be controlled at Layer 3, as Layer 2 and Layer 1 devices cannot.
Router
Routers actually work at Layers 1, 2, and 3. A router (layer 3 device) solves the problem of too much broadcast traffic. It is Layer 3 that allows the router to segment broadcast domains or network.
Data Flows
Summary
Layer 2 bridging and switching Content-addressable memory (CAM) Switching methods Spanning-Tree Protocol (STP) Collisions, broadcasts, collision domains, and broadcast domains Layer 1, 2, and 3 devices with collision domains and broadcast domains Data flow