1 no spanning-tree port mode, 20 spanning-tree port mode all, 1 no spanning-tree port mode all – Kontron AT8404 CLI User Manual
Page 51: 21 spanning-tree port-state, 22 spanning-tree rootguard, 1 no spanning-tree rootguard, Spanning-tree port mode all - 15, Spanning-tree port-state - 15, Spanning-tree rootguard - 15, At8404 switching commands

AT8404
Switching Commands
Page 2 - 15
AT8404 CLI Reference Manual
2.2.19.1
no spanning-tree port mode
This command sets the Administrative Switch Port State for this port to disabled.
2.2.20
spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to enabled.
2.2.20.1
no spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to disabled.
2.2.21
spanning-tree port-state
This command sets the state of a port used by a MST instance. The command sets the spanning tree state (forward/
block) of a port for incoming (ingress) or outgoing (egress) traffic or both for an existing MST instance (1..4094).
Default state is forwarding. The state of the port can be seen only via “show running-config”. If the state is blocked,
the command is displayed (otherwise not).
2.2.22
spanning-tree rootguard
Use this command to enable root BPDU Guard on the interface.
2.2.22.1
no spanning-tree rootguard
Use this command to disable root BPDU Guard on the interface.
Format
no spanning-tree port mode
Mode
Interface Config
Default
disabled
Format
spanning-tree port mode all
Mode
Global Config
Format
no spanning-tree port mode all
Mode
Global Config
Default
forwarding
Format
spanning-tree mst
Mode
Interface Config
Default
disabled
Format
spanning-tree rootguard
Mode
Interface Config
Format
no spanning-tree rootguard
Mode
Interface Config