Week 6: STP Flashcards
What are the two purposes for using Switching?
Breaks up Collision Domains (each switch port is its own separate Collision Domain)
Cost-effective way to connect workstations (switches have replaced hubs)
What are the advantages of using Layer 2 Switching?
Hardware-Based Bridging (ASICs)
Low Latency
Low Cost
What are the three Switch functions at Layer 2
Address Learning
Forward/Filter Decisions
Loop Avoidance
What is Switch Address Learning?
Layer 2 switches remember the source hardware address of each frame received on an interface and entered into the Forward/Filter MAC Database Table
Describe Forward/Filter Decisions for a Switch
Switch looks at the destination hardware address, then chooses the appropriate exit interface for it in the MAC Database
What is Switch Loop Avoidance?
If multiple connections between switches are created for redundancy purposes, network loops can occur
What protocol is used to prevent network loops while maintaining redundancy?
Spanning Tree Protocol
What are the three Forward/Filter Decisions for a Switch when a Frame arrives?
- If a source hardware address is not in the forwarding table -> add it
- if a destination hardware address is known -> Frame Filtering
- If the destination hardware address is not known -> frame is flooded to ALL active interfaces EXCEPT source
What types of links are desired between switches?
Redundant Links
What are the benefits of Redundant Links?
Help prevent irrecoverable network failures in case one link stops working
Helps improve a network’s fault tolerance
What can loops in switching lead to?
Broadcast Storm
What is a Broadcast Storm?
Flood of endless broadcast packets
What MUST switches avoid?
Logical Loops
What are the three laters in the Cisco Hierarchical Network Model?
Core Layer
Distribution Layer
Access Layer
What is the function of the Core Layer in the Cisco Hierarchical Network Model?
Backbone of the model
Transport data reliably & quickly
What is the function of the Distribution Layer in the Cisco Hierarchical Network Model?
Routing
filtering
WAN Access
What is the function of the Access Layer in the Cisco Hierarchical Network Model?
Switching
Separating Collision Domains
In which network design is Redundancy introduced?
Hierarchical Network Design
What type of loop will disable a network?
A Logical Loop (due to redundancy)
What does Spanning Tree Protocol (STP) prevent?
Stops loops in Layer 2 Switch Networks
What are the properties of the Spanning Tree Protocol?
Layer 2 Protocol
Uses the Spanning Tree Algorithm (STA)
What are the main standards of Spanning Tree Protocol (STP)?
STP: IEEE802.1D Rapid STP (RSTP): IEEE802.1W
What is the purpose of the Spanning Tree Algorithm?
To interrupt the logical loop created by physical loops in a bridged/switched environment
How does STP prevent Logical Loops?
By ensuring that certain ports on some of the bridges/switches do not forward frames
What is a Bridge Protocol Data Unit (BPDU)?
Used to exchange selection information of the root switch as well as subsequent network configuration
How does a BPDU function?
Each switch compares the parameters in the BPDU that it sends to one neighbour with the ones that it receives from other neighbours
What type of network hardware sends BPDU’s and how frequently?
Sent by Bridges periodically (usually every 2 seconds)