To view what ports are blocked by the spanning-tree protocol, type:
show spantree
Miscellaneous Cisco switch commands for IOS
To view the ports that are blocked by the spanning-tree protocol, type:
show sp br
87
Appendix E. Configuring network switches