Cisco CCNA (200-301)Network AccessEasy
A network administrator needs to verify the current Spanning Tree Protocol (STP) mode configured on a Cisco Catalyst switch, specifically for VLAN 10. The administrator also wants to see the root bridge information for that VLAN. Which of the following commands would provide this information?
- Ashow spanning-tree vlan 10
- Bshow cdp neighbors detail
- Cshow spanning-tree summary
- Dshow interfaces trunk
Show answer & explanationAnswer & explanation
Correct answer: A. show spanning-tree vlan 10
The 'show spanning-tree vlan <VLAN_ID>' command provides detailed STP information for a specific VLAN, including the STP mode, root bridge ID, and port states for that VLAN.
Why the other options are wrong
- B. This command shows CDP neighbor details and has no relation to STP.
- C. This command provides a summary of STP status but not detailed root bridge info per VLAN.
- D. This command shows trunk interface details, not STP information.
show spanning-tree vlan
The 'show spanning-tree vlan <VLAN_ID>' command is used on Cisco switches to display detailed Spanning Tree Protocol information for a particular VLAN.
- Shows STP mode (PVST+, Rapid PVST+, MST).
- Displays root bridge ID and local bridge ID.
- Provides port roles, states, costs, and priorities for the VLAN.
Memory trick: S.T.P. V. - Spanning Tree Protocol, Verify!