HPE7-A08 practice question 18 of 35

Which CLI command displays the spanning-tree status of all VLANs on an Aruba CX switch?

Full set: 342 questions
Answer options
A: show spanning-tree Correct answer
B: show spanning-tree vlan all
C: show stp vlan
D: show vlan spanning-tree
Correct Answer:
A. show spanning-tree
Explanation

The show spanning-tree command, when executed without any additional parameters on an Aruba CX switch, displays the spanning-tree status for all VLANs on which the protocol is enabled. This command provides a comprehensive overview, including the bridge ID, designated root, and port states for each VLAN instance, fulfilling the requirement of the question directly and efficiently.

Why Incorrect

B. show spanning-tree vlan all is incorrect because vlan all is not a valid parameter for this command in ArubaOS-CX. The base command already provides the information for all VLANs.
C. show stp vlan is incorrect as ArubaOS-CX uses the full command name spanning-tree, not the abbreviation stp, for this show command.
D. show vlan spanning-tree is syntactically incorrect. The command structure in ArubaOS-CX for viewing protocol information typically starts with show [protocol].

References

1. ArubaOS-CX 10.12 CLI Reference Guide

Page 4290.

Command: show spanning-tree

Description: "Displays spanning tree information for all VLANs."

Usage: The guide shows the syntax as show spanning-tree [detail | inconsistent-ports | instance | interface | mst-configuration | summary | vlan ]. This confirms that the base command is used for all VLANs and that options B

C

and D are syntactically invalid.

Scroll to Top