Review - Chapter 4 Flashcards
(42 cards)
STP
- Layer 2 protocol
* Provides network link redundancy while eliminating potential problems
STP Limitation
Convergence delay after a topology change
BPDUs (STP)
○ Used to determine current topology information and how to react if any devices are added/removed/changed in the topology
○ Sent every 2 seconds by default on all switch ports
STP Rules
○ One root bridge
○ One root port on each non-root switch
○ One designated port per LAN segment
○ Non designated ports are blocked
STP Timers
○ Hello time (2s)
○ Forward delay (15s)
○ Max age (20s)
Key Types of STP
○ STP (original IEEE 802.1D version) ○ Common Spanning Tree (CST) ○ PVST and PVST+ (Cisco proprietary) ○ Multiple Spanning Tree (MST) ○ Rapid Spanning Tree (RSTP) ○ RPVST+ (Cisco implementation of RSTP based on PVST+)
Root Bridge
Selected based on lowest Bridge ID (BID)
Bridge ID (BID)
Two parts:
○ Priority
○ Mac address
Root Port Factors
○ Path Cost
○ Lowest Sender BID
○ Lowest Port ID
Bridge Protocol Data Units (BPDUs)
- Used to exchange STP information, specifically for root bridge election and loop identification
- Sent every 2 seconds by default
Types of BPDUs
○ Configuration BPDUs
○ TCN (topology change notification) BPDUs
STP Port States
○ Blocking ○ Listening (15s) ○ Learning (15s) ○ Forwarding ○ Disabled
Per VLAN STP+ (PVST+)
• Runs one spanning-tree instance for each VLAN
• The original 16-bit bridge priority is split into two fields, resulting in the following components in the BID:
○ Bridge priority
○ Extended system ID
○ MAC address
Bridge priority
○ 4-bit field carrying bridge priority
○ Default is 32,768 (midrange)
○ Conveyed in discrete values in increments of 4096
Extended system ID
12-bit field carrying VLAN ID
MAC address
6-byte field with MAC address of the switch
Types of Topology Changes
- Direct topology change
- Indirect topology change
- Insignificant topology change
Direct Topology Change
Can be detected on an interface
Indirect topology change
Detected because no BPDUs are received from the root bridge
Insignificant topology change
Occurs if an event causes a switch to send out TCNs (no actual topology change occurs)
Rapid Spanning Tree Protocol (RSTP)
- 802.1W
* Speeds up the recalculations after topology change
RSTP Port Roles
- Root
- Designated
- Alternate
- Disabled
- Backup
RSTP Port States
- Discarding
- Learning
- Forwarding
RSTP Rapid Transition
Rapid transitions to forward state on:
• Edge ports
• Point-to-point links