JEX - Chapter 4: Spanning Tree Flashcards
The process a switch goes through to create a spanning tree. (High Level)
- Switches exchange Bridge Protocol Units (BPDUs)
- Root bridge is elected
- Port role and state are determined
- Tree is fully converged
Bridge ID
Unique identifier for each switch
Root bridge
Switch with the lowest bridge ID
Root port
The port on each bridge closest to the root bridge
Root path cost
A bridge’s calculated cost to get from itself to the root bridge
Equal to the received root path cost from configuration BPDUs plus the port cost of the root port on the bridge
Port cost
Every interface on a bridge has an assigned port cost value
- Used in the calculation of the root path cost for the local bridge
- Configurable value (1-200,000,000)
- The default value is 20,000 for 1 Gigabit Ethernet
Designated bridge
A switch representing the LAN segement
Port ID
A unique identifier for each port on each switch
Designated port
The designated bridge’s forwarding port on a LAN segment.
The port used by a designated bridge to send traffic from the direction of the root to the LAN or from the LAN toward the root.
Bridge protocol data unit
Packets used to exchange information between switches
Types of BPDUs:
- Configuration BPDU
- Topology change notification BPDU
In STP, what are the four states a bridge’s port can be in?
- Blocking
- Listening
- Learning
- Forwarding
Blocking state (STP)
- The port drops all data packets and listens to BPDUs
2. The port is not used in active topology
Listening state (STP)
- The port drops all data packets and listens to BPDUs
2. The port is transitioning and will be used in active topology
Learning state (STP)
- The port drops all data packets and listens to BPDUs
2. The port is transitioning and the switch is learning MAC addresses
Forwarding state (STP)
- The port receives and forwards data packets and sends and receives BPDUs.
- The port has transitioned and the switch continues to learn MAC addresses.