How to check spanning tree state of ports on SX, FCX and ICX?

How to check spanning tree state of ports on SX, FCX and ICX.