Cisco CCNA mock exam questions sample test – Question 41

.Which Cisco IOS command is used on a Cisco Catalyst 6500 series switch to view the spanning-tree protocol (STP) information for a virtual LAN (VLAN)?

A. show spanning tree
B. show spanning-tree vlan
C. show spantree
D. show spantree vlan

Correct Answer: B

Explanation:
The show spanning-tree vlan Cisco IOS command is used on a Catalyst 6500 series switch to view the spanning-tree information for a VLAN, such as information on the root switch
(bridge ID, root path, root cost), as well as local switch.
The following is sample output of the show spanning-treevlan vlan-id command:
The show spanning tree command is incorrect because it is not the correct syntax of a Cisco IOS command.
The show spantree and show spantree vlan commands are incorrect because these are CatOS commands, not Cisco IOS commands.
Objective:
LAN Switching Fundamentals
Sub-Objective:
Configure and verify Layer 2 protocols
References:
Cisco > Cisco IOS LAN Switching Command Reference > show spanning-tree