Show & diagnostics

show spanning-tree

STP state: root bridge, port roles, port states.

Works on: SwitchMode: enable
Run this command live

Don't just read it — type show spanning-tree in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "show spanning-tree" command do?

STP state: root bridge, port roles, port states.

More Show & diagnostics commands

← Back to the full command reference

show spanning-tree — network CLI command reference · NetForge-AI