16-6
Spanning Tree Protocol (STP)
CLI: Configuring STP
Spanning Tree Protocol
(STP)
Figure 16-2. Example of the Default STP Configuration Listing
Enabling or Disabling STP. Enabling STP implements the spanning-tree
protocol for all physical ports on the switch, regardless of whether multiple
VLANs are configured. Disabling STP removes protection aga inst redundant
loops that can significantly slow or halt a network.
Syntax: [no] spanning-tree
Default: Disabled
This command enables STP with the current parameter settings or disables
STP withoug losing the most-recently configured parameter settin gs. (To learn
how the switch handles parameter changes, how to test changes without
losing the previous settings, and how to replace previous settings with new
settings, see Chapter 5, Switch Memory and Configuration.) When enabling
STP, you can also include the STP general and per-port parameters described
in the next two sections. When you use the no form of the command, you
can do so only to disable STP. (STP parameter settings are not changed when
you disable STP.