Explanation & Hint:
The show spanning-tree command on a Cisco switch provides detailed information about the Spanning Tree Protocol (STP) status for all VLANs that are present and active on the switch. This includes:
- The role of the ports in all VLANs.
- This command will display the role of each port, such as whether it is a root port (RP), designated port (DP), alternate port (Altn), or a blocked port (Blk) in the STP topology.
- The root bridge BID (Bridge ID).
- The output will show the Bridge ID of the root bridge for each VLAN, which includes the priority and the MAC address. It also shows the switch’s own Bridge ID and how it compares to the root.
The show spanning-tree command does not provide the number of broadcasts received on each root port, the IP address of the management VLAN interface, or the status of the native VLAN ports specifically. The command focuses on STP state, port roles, port states (Forwarding or Blocking), path costs, and STP timers. It might show the state of ports in the native VLAN in the context of their STP roles and states, but it does not give specific status information pertaining only to the native VLAN. |