Which configuration makes SW4 the root bridge for VLAN 1 and forces SW2 interface G0/2 into a blocking state?
Choose an answer
Tap an option to check your answer.
Correct answer: SW4(config)#spanning-tree vlan 1 priority 0 ! SW2(config)#int G0/2 SW2(config-if)#spanning-tree cost 128.
Why this is the answer
To make SW4 the root bridge for VLAN 1, its bridge priority must be the lowest. A priority of 0 is the lowest possible and guarantees SW4 becomes the root. To force SW2's G0/2 interface into a blocking state, its path cost to the root bridge must be higher than other paths. The default cost for a 100 Mbps interface is 19. Setting spanning-tree cost 128 on SW2's G0/2 makes this path less desirable than other paths (e.g., through SW3), causing G0/2 to block. The other options are incorrect because: Setting port-priority 64 on SW2's G0/2 would influence the designated port election if two ports on the same switch connect to the same segment, but it wouldn't necessarily force the port into a blocking state across different switches. A priority of 32768 is the default and would not guarantee SW4 as the root unless all other switches have higher priorities. Setting port-priority 0 on SW2's G0/2 would make it the preferred port, potentially preventing it from blocking.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed