A network engineer runs the following command on Switch SW5: SW5# show spanning-tree vlan 50 VLAN0050 Spanning tree enabled protocol ieee Root ID Priority 24626 Address aabb.cc00.0800 Cost 4 Port 1 (GigabitEthernet0/1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 32768 (priority 32768 sys-id-ext 50) Address aabb.cc00.0900 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 sec Interface Role Sts Cost Prio.Nbr Type ------------------- ---- --- --------- -------- ------------------------------ Gi0/1 Root FWD 4 128.1 P2p Gi0/2 Desg FWD 4 128.2 P2p Gi0/3 Desg FWD 4 128.3 P2p Gi0/4 Altn BLK 4 128.4 P2p Based on this output, how many ports are in the Forwarding state?
Option 3 is correct. The `show spanning-tree` output for this VLAN/instance lists Gi0/1, Gi0/2, and Gi0/3 in the Forwarding (FWD) state, meaning these three ports are actively forwarding Ethernet frames. Gi0/4 is shown in the Blocking (BLK) state, so it is not forwarding user traffic. Therefore, exactly three ports are in the forwarding state, making answer 3 the correct choice.
Why this answer
The output shows four interfaces: Gi0/1 (Root FWD), Gi0/2 (Desg FWD), Gi0/3 (Desg FWD), and Gi0/4 (Altn BLK). Three ports (Gi0/1, Gi0/2, Gi0/3) are in the Forwarding state, while Gi0/4 is in the Blocking state. Therefore, the correct answer is 3.
Exam trap
Cisco often tests the ability to distinguish between port roles and port states; candidates may confuse the number of ports in a role (e.g., Root, Designated) with the number in the Forwarding state, or mistakenly count the Alternate port as forwarding because it has a role, ignoring its BLK state.
How to eliminate wrong answers
Option A is wrong because only 1 port in Forwarding would ignore the two Designated ports (Gi0/2 and Gi0/3) that are clearly marked FWD. Option B is wrong because 2 ports in Forwarding would miss either the Root port or one of the Designated ports, but all three are actively forwarding. Option D is wrong because 4 ports in Forwarding would include the Alternate port Gi0/4, which is in the Blocking (BLK) state, not Forwarding.