This command displays detailed spanning tree related information of the Switch and all ports enabled in the Switch.
The information contains status of spanning tree operation, current selected spanning Mode, current spanning tree compatibility version, bridge and root priority, bridge and root addresses, port path cost, port priority, port timers, bridge and port level spanning tree statistics information, transmit hold- count value, link-type, and status of L2GP, loop guard, BPDU receive, BPDU transmit, restricted TCN, restricted role and portfast features.
This command can be executed successfully, only if the spanning tree functionality is not shutdown in the Switch. The type of spanning tree Mode should be set, if the functionality is already shutdown.
show spanning-tree detail [ switch <context_name>]