Chap 2 - Spanning Tree Protocol Flashcards
What happens on a port in Disabled state?
It is admin’ed down.
What happens on a port in Blocking state?
- BPDUs: Receive only
- Modify MAC table: No
What happens on a port in Listening state?
- BPDUs: Sends and receives
- Modify MAC table: No
What happens on a port in Learning state?
- BPDUs: Send and receive
- Modify MAC table: Yes
What happens on a port in Forwarding state?
- BPDUs: Sends and receives
- Modify MAC table: Yes
- Forwarding: Yes
What are the 3 802.1D port types?
- Root Port (RP)
- Designated Port (DP)
- Blocking Port
How many RPs are there on a switch?
No more than 1 RP per VLAN
What is the Destination MAC of a BPDU?
01:80:c2:00:00:00
What are the 2 types of BPDUs?
- Configuration BPDU
- Topology Change Notification (TCN) BPDU
What 4 things does a Configuration BPDU do?
- Identifies the Root Bridge
- Identifies RP
- Identifies DP
- Identifies Blocking Ports
What are the 7 fields in a Configuration BPDU?
- STP Type
- Root Path Cost
- Root Bridge Identifier
- Local Bridge Identifier
- Hello Timer
- Forward Delay Timer
- Max Age
What does a Topology Change Notification (TCN) BPDU signify?
Communicates changes in the Layer 2 topology to other switches.
What is the Max Age time?
If a switch loses communication with the generating switch of a BPDU the Max Age time is the length of time a switch considers that BPDU to be valid.
What is the default Max Age time?
20 seconds
How is the Root Bridge determined?
- The bridge with the lowest Priority
- if there is a tie then the bridge with the lowest MAC address
What is the default Priority?
32768 + sys-id-ext
What is the sys-id-ext?
A number equal to the VLAN number.
What is the root path cost?
The cumulative outbound interface cost to get to the root bridge.
How does a local switch calculate its root path cost?
It takes the root path cost advertised by its neighbor in a BPDU and then adds the interface cost of the local interface that BPDU was received on.
How does a switch initially identify its Root Port (RP) along with 4 tie-breakers?
- Port with lowest path cost to the Root
- Port who’s neighbor has the lowest System Priority
- Port whose neighbor has the lowest base MAC address
- Port whose neighbor has the lowest port priority
- Port whose neighbor has the lowest interface index number
What can a Designated port NOT be and how is the DP initially determined along with 2 tie-breakers?
- Cannot be a RP
- Switch with lowest root path cost gets the DP
- Switch with lowest System Priority wins
- Switch with lowest MAC address wins
What is the difference between a point-to-point port and a point-to-point edge port?
Point-to-point Edge has Portfast
What happens with a switch receives a BPDU with the TCN bit flipped on?
- All switches change their MAC address timer to the forward delay time (def 15 sec)
- This causes all MAC entries that aren’t heard during that 15 seconds to be flushed.
What is the difference between a Direct Link Failure and an Indirect Link Failure?
- When a direct link failure occurs the links interfaces go down.
- When an Indirect Link Failure occurs the interfaces are still up but data is impaired or corrupted.