STP Flashcards

1
Q

What is the main purpose of Spanning Tree Protocol (STP)?

A

To prevent loops in a Layer 2 network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which IEEE standard defines STP?

A

IEEE 802.1D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the five port states in classic STP?

A

Blocking Listening Learning Forwarding and Disabled

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default STP bridge priority?

A

32768

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does STP elect a root bridge?

A

The switch with the lowest bridge ID (priority + MAC address) becomes the root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens if two switches have the same priority during root bridge election?

A

The switch with the lowest MAC address becomes the root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of a root port in STP?

A

It is the port with the lowest cost path to the root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does STP calculate path cost?

A

By summing the cost of each link based on its bandwidth

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which port state listens for BPDUs but does not forward frames?

A

Listening

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which STP port role blocks traffic to prevent loops?

A

Alternate port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of the designated port in STP?

A

It forwards traffic toward downstream switches and has the lowest cost to the root bridge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of BPDU (Bridge Protocol Data Units) in STP?

A

To exchange information about topology and determine the best paths

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the default STP Hello Timer interval?

A

2 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the default Forward Delay timer in STP?

A

15 seconds

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How does STP handle topology changes?

A

It temporarily reduces the aging time of MAC addresses to speed up convergence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which STP enhancement helps prevent TCNs caused by frequent topology changes?

17
Q

What is the difference between STP and RSTP?

A

RSTP provides faster convergence by eliminating the listening state

18
Q

Which IEEE standard defines Rapid Spanning Tree Protocol (RSTP)?

A

IEEE 802.1w

19
Q

What STP feature prevents BPDUs from being received on an access port?

A

BPDU Guard

20
Q

What STP feature prevents loops by placing inconsistent BPDUs on a port?

A

Root Guard

21
Q

Which feature is used to limit the number of BPDUs a port can receive?

A

BPDU Filter

22
Q

Which STP version supports multiple spanning tree instances?

A

MSTP (Multiple Spanning Tree Protocol)

23
Q

What is the IEEE standard for MSTP?

A

IEEE 802.1s

24
Q

What is the main advantage of MSTP over other STP versions?

A

It allows multiple VLANs to be mapped to the same spanning-tree instance

25
What is the primary benefit of enabling UplinkFast on a switch?
It enables faster failover to a backup link in case of failure
26
What is the function of BackboneFast?
It speeds up convergence by bypassing the Max Age timer
27
Which spanning-tree version is used in PVST+?
Cisco�s proprietary version that runs an STP instance per VLAN
28
Which Cisco STP enhancement allows a switch to quickly transition to forwarding?
PortFast
29
How can you verify the STP configuration on a Cisco switch?
Use the command show spanning-tree
30
Which STP version allows for per-VLAN instances on Cisco switches?
PVST+ or Rapid PVST+