318 Spanning Tree Protocol Commands
Spanning Tree Protocol Commands
This section describes the commands you use to configure Spanning Tree
Protocol (STP). STP helps prevent network loops, duplicate messages, and
network instability.
STP is enabled on the switch and on all ports and LAGs by default.
If STP is disabled, the system does not forward BPDU messages.
spanning-tree This command sets the spanning-tree operational mode to enabled.
no spanning-tree This command sets the spanning-tree operational mode to disabled. While
disabled, the spanning-tree configuration is retained and can be changed, but is
not activated.
spanning-tree auto-
edge
Use this command to allow the interface to become an edge port if it does not
receive any BPDUs within a given amount of time.
Default enabled
Format
spanning-tree
Mode Global Config
Format
no spanning-tree
Mode Global Config
Default Enabled
Format
spanning-tree auto-edge
Mode Interface Config