![](/images/new-backgrounds/1299835/299835359x1.webp)
Interface Config
5.4.2.10spanning-tree port mode
This command sets the Administrative Switch Port State for this port to enabled.
Syntax
spanning-tree port mode no spanning-tree port mode
no - This command sets the Administrative Switch Port State for this port to disabled.
Default Setting
Disabled
Command Mode
Interface Config
This command sets the Administrative Switch Port State for all ports to enabled.
Syntax
all - All interfaces.
no - This command sets the Administrative Switch Port State for all ports to disabled.
Default Setting
Disabled
Command Mode
Global Config
180