![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650296.webp)
9-106
Configuring Advanced Features
Spanning Tree Protocol (STP)
Co
nf
ig
u
ri
ng Adva
nce
d
Feat
u
res
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 against 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 settings. (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 appendix C, “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, and cannot be included with the
no spanning-
tree
command.
C a u t i o n
Because incorrect STP settings can adversely affect network performance,
SMC recommends that you use the default STP parameter settings. You should
not change these settings unless you have a strong understanding of how STP
operates. For more on STP, see the IEEE 802.1D standard.
SMC6624M(config)# spanning tre
e
Enables STP on the switch.
Reconfiguring General STP Operation on the Switch.
This command
enables STP (if it is not already enabled) and configures one or more of the
following parameters:
Table 9-13.General STP Operating Parameters
Name
Default
Range
Function
priority
32768
0 - 65535 Specifies the priority value used along with the
switch MAC address to determine which device is
root. The lower a priority value, the higher the
priority.
maximum-age 20 seconds 6 - 40
seconds
Maximum received message age the switch allows
for STP information before discarding the message,
hello-time
2 seconds
1 - 10
Time between messages transmitted when the
switch is the root.
forward-delay 15 seconds 4 - 30
seconds
Time the switch waits before transitioning from the
listening to the learning state, and between the
learning state to the forwarding state.