STP and RSTP Flashcards

(120 cards)

1
Q

What is the primary purpose of STP?
a) To prevent routing loops
b) To prevent switching loops
c) To encrypt network traffic
d) To increase bandwidth

A

Answer: b) To prevent switching loops

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

Which algorithm does STP use to prevent loops?
a) Dijkstra’s algorithm
b) Bellman-Ford algorithm
c) Spanning Tree Algorithm (STA)
d) Diffie-Hellman algorithm

A

Answer: c) Spanning Tree Algorithm (STA)

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

What is the default STP mode on Cisco switches?
a) Rapid PVST+
b) MSTP
c) PVST+
d) RSTP

A

Answer: c) PVST+

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

Which STP state blocks traffic but listens to BPDUs?
a) Blocking
b) Listening
c) Learning
d) Forwarding

A

Answer: a) Blocking

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

How long does STP take to converge by default?
a) 15 seconds
b) 30 seconds
c) 50 seconds
d) 60 seconds

A

Answer: c) 50 seconds

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

Which STP state allows MAC address learning but does not forward traffic?
a) Blocking
b) Listening
c) Learning
d) Forwarding

A

Answer: c) Learning

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

What is the default STP priority value on a Cisco switch?
a) 0
b) 32768
c) 4096
d) 8192

A

Answer: b) 32768

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

Which STP port state forwards traffic and learns MAC addresses?
a) Blocking
b) Listening
c) Learning
d) Forwarding

A

Answer: d) Forwarding

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

What is the first step in the STP election process?
a) Elect root ports
b) Elect designated ports
c) Elect the root bridge
d) Block redundant ports

A

Answer: c) Elect the root bridge

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

Which BPDU field is used to elect the root bridge?
a) Root ID
b) Bridge ID
c) Port ID
d) Max Age

A

Answer: b) Bridge ID

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

Which STP port role is responsible for forwarding traffic toward the root bridge?
a) Root Port
b) Designated Port
c) Alternate Port
d) Disabled Port

A

Answer: a) Root Port

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

What is the role of a designated port in STP?
a) Blocks traffic to prevent loops
b) Forwards traffic away from the root bridge
c) Connects to end devices
d) Elects the root bridge

A

Answer: b) Forwards traffic away from the root bridge

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

Which STP port role is a backup path to a designated port?
a) Root Port
b) Alternate Port
c) Backup Port
d) Disabled Port

A

Answer: c) Backup Port

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

What happens to a port in the “Listening” state?
a) It discards traffic and ignores BPDUs
b) It forwards traffic and learns MAC addresses
c) It processes BPDUs but does not forward traffic
d) It blocks traffic but listens to BPDUs

A

Answer: c) It processes BPDUs but does not forward traffic

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

Which STP port state is not part of the original 802.1D standard?
a) Blocking
b) Listening
c) Learning
d) Discarding

A

Answer: d) Discarding (introduced in RSTP)

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

What is the purpose of the “Disabled” state in STP?
a) Temporarily blocks traffic
b) Administratively shuts down the port
c) Acts as a backup port
d) Elects the root bridge

A

Answer: b) Administratively shuts down the port

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

Which STP port role is only present in RSTP and not in traditional STP?
a) Root Port
b) Alternate Port
c) Designated Port
d) Backup Port

A

Answer: b) Alternate Port

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

How does a switch determine the root port?
a) Lowest root path cost
b) Highest bridge ID
c) Fastest link speed
d) Oldest BPDU timestamp

A

Answer: a) Lowest root path cost

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

What is the default path cost for a 1 Gbps link in STP?
a) 4
b) 19
c) 100
d) 2000

A

Answer: a) 4

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

Which STP port state comes after “Listening”?
a) Blocking
b) Learning
c) Forwarding
d) Disabled

A

Answer: b) Learning

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

What is the default Hello timer in STP?
a) 1 second
b) 2 seconds
c) 10 seconds
d) 20 seconds

A

Answer: b) 2 seconds

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

What is the default Max Age timer in STP?
a) 6 seconds
b) 10 seconds
c) 20 seconds
d) 50 seconds

A

Answer: c) 20 seconds

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

What happens if a switch does not receive BPDUs within the Max Age time?
a) The switch becomes the root bridge
b) The port transitions to the Listening state
c) The switch recalculates the STP topology
d) The port is disabled

A

Answer: c) The switch recalculates the STP topology

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

Which BPDU flag indicates a topology change in STP?
a) TC (Topology Change)
b) TCA (Topology Change Acknowledgment)
c) TCN (Topology Change Notification)
d) TCD (Topology Change Detection)

A

Answer: a) TC (Topology Change)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What is the purpose of the Forward Delay timer? a) How long a port stays in Listening/Learning states b) How often BPDUs are sent c) How long before a blocked port becomes active d) How long MAC addresses are retained
Answer: a) How long a port stays in Listening/Learning states
26
What is the default Forward Delay timer in STP? a) 4 seconds b) 15 seconds c) 20 seconds d) 50 seconds
Answer: b) 15 seconds
27
Which BPDU is sent by non-root bridges to inform the root of a topology change? a) Configuration BPDU b) TCN BPDU c) Hello BPDU d) TCA BPDU
Answer: b) TCN BPDU
28
What is the destination MAC address for STP BPDUs? a) 01:80:C2:00:00:00 b) FF:FF:FF:FF:FF:FF c) 00:00:0C:CC:CC:CD d) 01:00:5E:00:00:01
Answer: a) 01:80:C2:00:00:00
29
Which STP timer determines how long BPDUs are stored before aging out? a) Hello Timer b) Forward Delay c) Max Age d) Hold Timer
Answer: c) Max Age
30
What happens if the Hello timer is modified without adjusting other timers? a) Faster convergence b) STP instability c) No effect d) Increased bandwidth
Answer: b) STP instability
31
What is the main improvement of RSTP over STP? a) Faster convergence b) Better encryption c) Higher bandwidth d) More VLAN support
Answer: a) Faster convergence
32
Which IEEE standard defines RSTP? a) 802.1D b) 802.1Q c) 802.1w d) 802.1s
Answer: c) 802.1w
33
How does RSTP achieve faster convergence? a) By eliminating Listening and Learning states b) By using shorter timers c) By introducing new port roles d) Both a and c
Answer: d) Both a and c
34
Which RSTP port role replaces the Blocking state? a) Alternate Port b) Backup Port c) Discarding Port d) Edge Port
Answer: c) Discarding Port
35
What is an "Edge Port" in RSTP? a) A port connected to another switch b) A port connected to an end device c) A disabled port d) A backup root port
Answer: b) A port connected to an end device
36
Which RSTP port role is a backup to the root port? a) Designated Port b) Alternate Port c) Backup Port d) Edge Port
Answer: b) Alternate Por
37
What is the default RSTP convergence time? a) 1-2 seconds b) 5-10 seconds c) 30 seconds d) 50 seconds
Answer: a) 1-2 seconds
38
Which mechanism allows RSTP to confirm a link is operational before forwarding? a) BPDU Guard b) Proposal/Agreement c) Root Guard d) Loop Guard
Answer: b) Proposal/Agreement
39
What happens to an RSTP port if it receives inferior BPDUs? a) It becomes the root port b) It transitions to Discarding c) It ignores them d) It sends a TCN BPDU
Answer: b) It transitions to Discarding
40
Which command enables RSTP on a Cisco switch? a) spanning-tree mode rapid-pvst b) spanning-tree mode rstp c) spanning-tree mode mst d) spanning-tree mode pvst
Answer: a) spanning-tree mode rapid-pvst
41
Which RSTP port state is equivalent to STP’s Blocking state? a) Learning b) Discarding c) Listening d) Forwarding
Answer: b) Discarding
42
In RSTP, what is the role of a Backup Port? a) Backup for the Root Port b) Backup for a Designated Port c) Connects to end hosts d) Used for load balancing
Answer: b) Backup for a Designated Port
43
Which RSTP port type immediately transitions to Forwarding state? a) Root Port b) Edge Port c) Alternate Port d) Designated Port
Answer: b) Edge Port
44
What is the purpose of the Proposal/Agreement mechanism in RSTP? a) Elects the root bridge b) Ensures loop-free topology before forwarding c) Blocks redundant links d) Increases BPDU transmission rate
Answer: b) Ensures loop-free topology before forwarding
45
Which RSTP feature allows switches to synchronize port roles quickly? a) BPDU Filter b) BPDU Guard c) Sync Mechanism d) Root Guard
Answer: c) Sync Mechanism
46
How does RSTP handle topology changes compared to STP? a) Only the root bridge can detect changes b) Any switch can detect and propagate changes c) Changes are ignored unless manually configured d) Uses TCN BPDUs exclusively
Answer: b) Any switch can detect and propagate changes
47
Which command configures a port as an RSTP Edge Port? a) spanning-tree portfast b) spanning-tree edgeport c) spanning-tree bpdufilter enable d) spanning-tree guard root
Answer: a) spanning-tree portfast
48
What happens if an RSTP Edge Port receives a BPDU? a) It becomes a normal STP port b) It remains an Edge Port c) It shuts down d) It ignores the BPDU
Answer: a) It becomes a normal STP port
49
Which RSTP port role is not present in traditional STP? a) Root Port b) Alternate Port c) Designated Port d) Disabled Port
Answer: b) Alternate Port
50
What is the default RSTP bridge priority value? a) 0 b) 32768 c) 4096 d) 8192
Answer: b) 32768
51
Which protocol converges faster, STP or RSTP? a) STP b) RSTP c) Both converge at the same speed d) Depends on network size
Answer: b) RSTP
52
Which of the following is NOT a feature of RSTP? a) Alternate Ports b) Backup Ports c) Listening State d) Edge Ports
Answer: c) Listening State
53
How does RSTP reduce convergence time compared to STP? a) By eliminating the Listening state b) By increasing BPDU timers c) By disabling BPDUs d) By using a different root election process
Answer: a) By eliminating the Listening state
54
Which STP version is backward compatible with 802.1D? a) MSTP b) PVST+ c) RSTP d) Rapid PVST+
Answer: c) RSTP
55
In RSTP, what replaces the TCN BPDU mechanism of STP? a) Topology Change (TC) flags in BPDUs b) Hello BPDUs c) Sync messages d) Proposal/Agreement
Answer: a) Topology Change (TC) flags in BPDUs
56
Which STP version supports per-VLAN spanning trees? a) 802.1D b) 802.1w c) PVST+ d) MSTP
Answer: c) PVST+
57
What is the main drawback of RSTP compared to MSTP? a) Slower convergence b) No VLAN support c) Higher CPU usage in large networks d) No backward compatibility
Answer: c) Higher CPU usage in large networks
58
Which protocol combines multiple VLANs into a single spanning tree instance? a) PVST+ b) Rapid PVST+ c) MSTP d) RSTP
Answer: c) MSTP
59
Which command shows the spanning-tree mode on a Cisco switch? a) show spanning-tree b) show spanning-tree mode c) show spanning-tree summary d) show running-config | include spanning-tree
Answer: a) show spanning-tree
60
Which STP version is recommended for modern networks? a) 802.1D b) RSTP (802.1w) c) PVST+ d) MSTP
Answer: b) RSTP (802.1w)
61
What does BPDU Guard do? a) Blocks unauthorized root bridges b) Disables ports receiving BPDUs c) Filters BPDUs from end devices d) Prevents TCN attacks
Answer: b) Disables ports receiving BPDUs (on Edge Ports)
62
Which feature prevents a switch from becoming the root bridge? a) BPDU Filter b) Root Guard c) Loop Guard d) PortFast
Answer: b) Root Guard
63
What happens if Root Guard detects a superior BPDU? a) The port is blocked b) The switch shuts down c) The port remains forwarding d) The BPDU is ignored
Answer: a) The port is blocked
64
Which command enables BPDU Guard globally? a) spanning-tree bpduguard enable b) spanning-tree portfast bpduguard default c) spanning-tree guard bpdu d) spanning-tree bpdufilter enable
Answer: b) spanning-tree portfast bpduguard default
65
What is the purpose of Loop Guard? a) Prevents root bridge takeover b) Blocks BPDUs on Edge Ports c) Prevents loops due to unidirectional links d) Disables STP on a port
Answer: c) Prevents loops due to unidirectional links
66
Which feature allows a port to skip Listening/Learning states? a) PortFast b) UplinkFast c) BackboneFast d) BPDU Guard
Answer: a) PortFast
67
What does UplinkFast do in STP? a) Speaks up convergence after a root port failure b) Blocks BPDUs on Edge Ports c) Prevents root bridge changes d) Disables STP on uplinks
Answer: a) Speeds up convergence after a root port failure
68
Which Cisco-proprietary STP enhancement is not needed in RSTP? a) PortFast b) UplinkFast c) BPDU Guard d) Root Guard
Answer: b) UplinkFast (RSTP has built-in fast convergence)
69
What is the effect of BPDU Filter on a port? a) Blocks incoming BPDUs b) Prevents the port from sending BPDUs c) Disables STP completely d) Both a and b
Answer: d) Both a and b
70
Which command enables Root Guard on a port? a) spanning-tree rootguard b) spanning-tree guard root c) spanning-tree bpduguard root d) spanning-tree loopguard root
Answer: b) spanning-tree guard root
71
A switch port is stuck in the Blocking state. What could be the issue? a) BPDU Guard is enabled b) The port is an alternate path to the root c) The port is disconnected d) STP is disabled
Answer: b) The port is an alternate path to the root
72
What does a "STP loop" indicate? a) A redundant link is blocked b) BPDUs are not being forwarded c) STP has failed to prevent a loop d) The root bridge is unreachable
Answer: c) STP has failed to prevent a loop
73
How can you verify the root bridge in a network? a) show spanning-tree root b) show spanning-tree c) show cdp neighbors d) show interface trunk
Answer: b) show spanning-tree
74
What causes a topology change in STP? a) A new switch joins b) A link goes down c) A port transitions to Forwarding d) All of the above
Answer: d) All of the above
75
Which command forces a switch to become the root bridge? a) spanning-tree root primary b) spanning-tree vlan 1 priority 0 c) spanning-tree force root d) spanning-tree root force
Answer: a) spanning-tree root primary
76
What happens if two switches have the same bridge priority? a) The switch with the lowest MAC address becomes root b) STP stops working c) Both switches become root d) The switch with the highest IP address wins
Answer: a) The switch with the lowest MAC address becomes root
77
Why would a port be in the "Blocking" state indefinitely? a) It is the root port b) It is a redundant path c) BPDUs are not being received d) It is an Edge Port
Answer: c) BPDUs are not being received
78
How do you disable STP on a Cisco switch? a) no spanning-tree b) spanning-tree disable c) no spanning-tree vlan 1 d) STP cannot be fully disabled
Answer: c) no spanning-tree vlan 1
79
What is the effect of a unidirectional link on STP? a) Faster convergence b) A loop may form c) The root bridge changes d) BPDUs are filtered
Answer: b) A loop may form
80
Which command shows STP port states and roles? a) show spanning-tree brief b) show interface status c) show stp details d) show cdp neighbors
Answer: a) show spanning-tree brief
81
What is the purpose of MSTP (802.1s)? a) Faster convergence than RSTP b) Maps multiple VLANs to a single STP instance c) Replaces PVST+ in Cisco networks d) Both b and c
Answer: d) Both b and c
82
How many STP instances does PVST+ create for 10 VLANs? a) 1 b) 10 c) 20 d) Depends on switch model
Answer: b) 10
83
Which command configures MSTP on a Cisco switch? a) spanning-tree mode mst b) spanning-tree mst enable c) spanning-tree mode rapid-mst d) spanning-tree mst configuration
Answer: a) spanning-tree mode mst
84
What is an MST region? a) A group of switches with the same VLAN-to-instance mapping b) A backup root bridge c) A loop-free segment of the network d) A set of Edge Ports
Answer: a) A group of switches with the same VLAN-to-instance mapping
85
Which STP version is most efficient for large networks with many VLANs? a) PVST+ b) Rapid PVST+ c) MSTP d) RSTP
Answer: c) MSTP
86
What is the default STP mode on modern Cisco switches? a) PVST+ b) Rapid PVST+ c) MSTP d) 802.1D
Answer: b) Rapid PVST+
87
hich command sets a switch as the secondary root bridge? a) spanning-tree root secondary b) spanning-tree vlan 1 priority 4096 c) spanning-tree backup root d) spanning-tree secondary
Answer: a) spanning-tree root secondary
88
What is the range of valid STP priorities? a) 0-65535 b) 0-61440 (in increments of 4096) c) 1-32768 d) 0-32768
Answer: b) 0-61440 (in increments of 4096)
89
Which STP feature prevents a non-root switch from becoming root? a) BPDU Guard b) Root Guard c) Loop Guard d) PortFast
Answer: b) Root Guard
90
What does show spanning-tree vlan 1 display? a) STP status for VLAN 1 b) All VLANs’ STP information c) Root bridge details only d) BPDU statistics
Answer: a) STP status for VLAN 1
91
Which port state is unique to RSTP and not present in traditional 802.1D STP? a) Learning b) Discarding c) Listening d) Forwarding
Answer: b) Discarding
92
What is the destination MAC address for STP BPDUs? a) FF:FF:FF:FF:FF:FF b) 01:80:C2:00:00:00 c) 00:00:0C:CC:CC:CD d) 12:34:56:78:9A:BC
Answer: b) 01:80:C2:00:00:00
93
What is the default STP path cost for a 10 Mbps Ethernet link? a) 2 b) 19 c) 100 d) 2000
Answer: c) 100
93
Which command disables STP on a specific switch port? a) no spanning-tree b) spanning-tree bpdufilter enable c) spanning-tree disable d) no spanning-tree vlan 1
Answer: b) spanning-tree bpdufilter enable
94
Which STP timer is eliminated in RSTP to improve convergence? a) Hello Timer b) Forward Delay c) Max Age d) Hold Timer
Answer: b) Forward Delay (RSTP uses proposal/agreement instead)
95
What does TCN stand for in STP? a) Topology Change Notification b) Trunk Configuration Notice c) Timed Convergence Network d) Transparent Clock Negotiation
Answer: a) Topology Change Notification
96
Which feature prevents Edge Ports from receiving BPDUs? a) BPDU Guard b) Root Guard c) Loop Guard d) PortFast
Answer: a) BPDU Guard
97
What is the valid range for STP bridge priority (in increments of 4096)? a) 0–65535 b) 0–61440 c) 1–32768 d) 0–32768
Answer: b) 0–61440
98
Which command configures a switch port as an RSTP Edge Port? a) spanning-tree edgeport b) spanning-tree portfast c) spanning-tree bpdufilter enable d) spanning-tree guard root
Answer: b) spanning-tree portfast
99
In RSTP, which state replaces the traditional STP "Blocking" state? a) Listening b) Discarding c) Learning d) Forwarding
Answer: b) Discarding
100
A switch port is stuck in "Blocking" state. What is the most likely cause? a) The port is disconnected. b) It is a redundant path to the root bridge. c) BPDU Guard is enabled. d) STP is disabled on the VLAN.
Answer: b) It is a redundant path to the root bridge.
101
What happens if BPDU Guard is enabled on a non-Edge Port? a) The port transitions to Forwarding immediately. b) The port shuts down if it receives a BPDU. c) STP recalculates the topology. d) Nothing—BPDU Guard only works on Edge Ports.
Answer: b) The port shuts down if it receives a BPDU.
102
Which command shows STP inconsistencies (e.g., unidirectional links)? a) show spanning-tree inconsistentports b) show spanning-tree detail c) show stp errors d) show interface status
Answer: a) show spanning-tree inconsistentports
103
Why might a network experience a temporary loop despite STP? a) STP timers are misconfigured. b) A switch is not running STP. c) BPDUs are lost due to a unidirectional link. d) All of the above.
Answer: d) All of the above.
104
How do you manually force a switch to become the root bridge for VLAN 10? a) spanning-tree vlan 10 root primary b) spanning-tree vlan 10 priority 0 c) spanning-tree force-root vlan 10 d) set root vlan 10
Answer: a) spanning-tree vlan 10 root primary
105
What is the key advantage of MSTP over PVST+? a) Faster convergence. b) Supports more VLANs. c) Reduces CPU load by grouping VLANs into instances. d) Backward compatibility with 802.1D.
Answer: c) Reduces CPU load by grouping VLANs into instances.
106
How many MST instances are needed for 100 VLANs if all use the same topology? a) 1 b) 100 c) 256 d) 4096
Answer: a) 1
107
Which command configures an MST region name? a) spanning-tree mst name REGION1 b) spanning-tree mst configuration → name REGION1 c) set stp region REGION1 d) spanning-tree region REGION1
Answer: b) spanning-tree mst configuration → name REGION1
108
Which STP version is Cisco’s default on modern switches? a) PVST+ b) Rapid PVST+ c) MSTP d) 802.1D
Answer: b) Rapid PVST+
109
What is the purpose of the MSTP "revision number"? a) Tracks STP version updates. b) Ensures switches in the same region have identical VLAN mappings. c) Sets the root bridge priority. d) Counts topology changes.
Answer: b) Ensures switches in the same region have identical VLAN mappings.
110
Which protocol combines the benefits of RSTP and per-VLAN spanning trees? a) MSTP b) PVST+ c) Rapid PVST+ d) 802.1D
Answer: c) Rapid PVST+ Explanation: Rapid PVST+ is Cisco’s implementation of RSTP (802.1w) with per-VLAN spanning trees, offering faster convergence than PVST+ while maintaining VLAN-specific topologies.
111
What is the default STP priority value if not manually set? a) 0 b) 32768 c) 4096 d) 8192
Answer: b) 32768 Explanation: The default STP bridge priority is 32768, which can be adjusted in increments of 4096 (e.g., 0, 4096, 8192, etc.).
112
Which STP protection feature disables a port if it receives superior BPDUs? a) BPDU Guard b) Root Guard c) Loop Guard d) PortFast
Answer: b) Root Guard Explanation: Root Guard blocks a port if it receives BPDUs claiming a superior root bridge, preventing unwanted topology changes.
113
What command displays the root bridge for VLAN 1? a) show spanning-tree root b) show spanning-tree vlan 1 c) show stp root d) show spanning-tree summary
Answer: b) show spanning-tree vlan 1 Explanation: This command shows the root bridge ID, root port, and cost for VLAN 1.
114
Which RSTP port role is a backup for the root port? a) Designated Port b) Alternate Port c) Backup Port d) Edge Port
Answer: b) Alternate Port Explanation: The Alternate Port is a backup path to the root bridge (replaces STP’s Blocking state for redundant uplinks).
115
What is the convergence time for RSTP in a failure scenario? a) 1-2 seconds b) 15 seconds c) 30 seconds d) 50 seconds
Answer: a) 1-2 seconds Explanation: RSTP converges in 1-2 seconds (vs. STP’s 30-50 seconds) due to proposal/agreement and port roles.
116
Which BPDU flag indicates a topology change in RSTP? a) TC (Topology Change) b) TCN (Topology Change Notification) c) TCA (Topology Change Acknowledgment) d) TCD (Topology Change Detection)
Answer: a) TC (Topology Change) Explanation: RSTP uses TC flags in BPDUs (not TCN BPDUs like STP) to propagate topology changes.
117
What happens if two switches have the same bridge ID? a) STP stops working b) The switch with the lowest MAC address becomes root c) Both switches become root d) The switch with the highest IP address wins
Answer: b) The switch with the lowest MAC address becomes root Explanation: The MAC address is the tiebreaker when bridge priorities are equal.
118
Which command enables Loop Guard globally? a) spanning-tree loopguard default b) spanning-tree guard loop c) spanning-tree loop-protect d) loopguard enable
Answer: a) spanning-tree loopguard default Explanation: Loop Guard prevents loops caused by unidirectional links by blocking ports that stop receiving BPDUs.
119
What is the STP cost for a 1 Gbps link? a) 4 b) 19 c) 100 d) 2000
Answer: a) 4 Explanation: Modern STP uses these path costs: 10 Mbps: 100 100 Mbps: 19 1 Gbps: 4 10 Gbps: 2