MNS-BB
Software User Guide
-72-
13.5
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:
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 sec Maximum received message age
the switch allows for STP info
before discarding messages and
receiving new messages.
Name Default Range Function
hello-time 2 seconds 1 - 10 sec Time between message
transmission when switch is the
root.
forward-delay 15 seconds 4 – 30 sec Time the switch waits before
transitioning from the listening
to the learning state, and
between the learning state to the forwarding state.
Syntax to set the above-mentioned parameters:
priority port=<number|list|range> value=<0-255 / 0-65535>
cost port=<number|list|range> value=<0-65535>
time forward-delay=<4-30> hello=<1-10> age=<6-40>
Default:
See table above.
For example
, to enable STP with a maximum-age of 30 seconds and a hello-time of 3 seconds with
forward delay of 15 secs:
LE2425A(stp)##
timers forward-delay=15 hello= 3 age= 30
13.6
Globally Enabling or Disabling STP
To globally enable or disable STP on the switch, one must be in the STP context in CLI. The
following command sequence shows enabling and disabling STP globally.
LE2425A(stp)##
show stp config
STP Configuration:
Spanning Tree Enabled(Global) :NO
Spanning Tree Enabled(Ports)
:YES, 1,2,3,4,5,6,7,8
Bridge Priority
:32768
Bridge Forward Delay
:15
Bridge Hello Time
:2
Bridge Max Age
:20
Root Port
:1
Root Path Cost
:100
Designated Root
:80:00:00:01:96:ed:a7:80
Designated Root Priority
:32768
Root Bridge Forward Delay
:15
Root Bridge Hello Time
:2
Root Bridge Max Age
:20