set the STP max age
spanning-tree-vlan “vlan id” max-age
set the STP hello interval
spanning-tree vlan “vlan id” hello-time “hello time”
set the STP forwarding delay
spanning-tree vlan “vlan id” forward-time “forward time”
display the STP root bridge and cost
show spanning-tree root
display the STP information for one or more VLANs
show spanning-tree [vlan “vlan id”]
Identify when the last TCN occurred and which port was the reason for it
show spanning-tree [vlan “vlan id”] detail