STP Flashcards
Layer 2 loop issues
MAC database instability
Broadcast storms
Multiple frame transmission
MAC Database Instability
changes in the MAC address table, a switch do not know which port to forward frames
MAC Database Instability
So many broadcast frames in a layer 2 loop that use all available bandwidth and make the network unreachable for legitimate network traffic
Broadcast storms
Causes of broadcasts storms
Denial of Service (DoS)
Can develop in seconds and bring the network down
A switch does not have the destination MAC address in its MAC address table and has to broadcast the frame out all ports except the port the frame was received on
Duplicate Unicast Frames
Blocks redundant paths that could cause a loop
Spanning Tree protocol
Used to prevent loop and duplication of data frames in the ethernet network
STP
Lowest Bridge ID (BID)
Bridge priority and MAC Address
Root Bridge
Port Roles
selected on a per-segment (each link) basis, based on the cost to get to root bridge or either side of this link
Designated Port
Port roles
one port on a switch that has the lowest cost to reach the root bridge
Root Port
Port Roles ( RSTP only) Backup port for the root port
Backup root
Port Roles (RSTP only) Backup port for the designated port when the other side is not a root port
Alternate port
Cisco update 802.1D; each VLAN has its own spanning-tree instance
PVST+
Cisco enhancement of RSTP using PVST+
Rapid PVST+
Disadvantages of Original 802.1D
No load sharing
Low CPU utilization
One uplink must block for all VLANs
Advantages of Cisco PVST+
Can load balance
One port can be blocking for one VLAN and forwarding for another VLAN
Can stress the CPU if a large number of VLANs are used
Port States in STP (802.1D)
Disabled Blocking Listening Learning Forwarding
Port States in Rapid STP (802.1w)
Discarding
Learning
Forwarding
Port Roles in STP (802.1D)
Root (Forwarding)
Designated (Forwarding)
Non-designated (Blocking)
Port Roles in Rapid STP (802.1w)
Root (Forwarding)
Designated (Forwarding)
Alternate (Discarding) Backup (Discarding)
BPDUs are used as a keepalive mechanism
RSTP BPDUs
A port that immediately goes to forwarding state,
has an end device connected - NEVER another switch
Edge Ports
Edge Ports
Uses the spanning-tree portfast command
Link Types
Shared- A point in half -duplex mode connecting a hub to a switch