33.3k views
5 votes
If the switch has been configured for PVST+ mode, what command output would replace the question marks?

A) show vlan brief
B) show spanning-tree
C) show interface status
D) show vtp status

Choose the correct option that best completes the question about the command output in PVST+ mode for a switch in the field of networking or switch configuration.

1 Answer

5 votes

Final answer:

In PVST+ mode on a switch, the command to display the spanning-tree information for each VLAN is 'show spanning-tree'. This provides details about the spanning tree protocol as it relates to each VLAN, which are not available with other commands like 'show vlan brief', 'show interface status', or 'show vtp status'.

Step-by-step explanation:

If the switch has been configured for PVST+ (Per-VLAN Spanning Tree Plus) mode, the correct command to display the spanning-tree information for each VLAN is B) show spanning-tree.

This command provides details about the root bridge, port states, and other spanning-tree related information for each VLAN on the switch. Commands such as show vlan brief will list the VLANs configured on the switch, show interface status provides details about the interface statuses such as connected or not connected, and show vtp status gives information about VLAN Trunking Protocol status.

However, these commands will not provide the PVST+ mode-specific spanning-tree information for each VLAN as show spanning-tree does.

User Ziur Olpa
by
8.2k points