Specifications

8-158 set stp Rapier Switch Software Reference
Software Release 2.7.3
C613-03098-00 REV A
set stp
Syntax SET STP={stp-name|ALL} [FOrwarddelay=4..30]
[HEllotime=1..10] [MAxage=6..40] [MODe={STANDARD|
RAPid}] [PRIOrity=0..65535] [RSTPtype={NORMAL|
STPCompatible}]
SET STP={stp-name|ALL} DEFault
where stp-name is a character string 1 to 15 characters long.Valid characters are
uppercase and lowercase letters, digits, the underscore, and the hyphen. The
stp-name cannot be all.
Description This command sets parameters used by the Spanning Tree Algorithm for the
specified STP. If all is specified, then parameters for all STPs on the switch are
set. When all is specified and the command succeeds on a subset of STPs but
causes errors on the others, then the command as a whole fails and has no
effect. Each STP has its own independent forwarddelay, hellotime, maxage,
and priority parameters.
The default parameter sets the forwarddelay, hellotime, maxage and priority
parameters back to their defaults. This parameter cannot be specified with
either of the forwarddelay, hellotime, maxage or priority parameters.
The forwarddelay parameter sets the time in seconds to control how fast a port
changes its spanning tree state when moving towards the forwarding state. If
the mode is set to standard, the value determines how long the port stays in
each of the listening and learning states which precede the forwarding state. If
the mode is set to rapid, this value determines the maximum time taken to
transition from discarding to learning and from learning to forwarding. This
value is used only when the switch is acting as the root bridge. Switches not
acting as the Root Bridge use a dynamic value for the forwarddelay set by the
root bridge. The forwarddelay, maxage, and hellotime parameters are
interrelated. See the formulas below. The default for forwarddelay is 15
seconds.
The hellotime parameter sets the time in seconds between the transmission of
switch spanning tree configuration information when the switch is the Root
Bridge of the spanning tree or is trying to become the Root Bridge. The default
is 2 seconds.
The maxage parameter sets the maximum time in seconds that dynamic STP
configuration information is stored in the switch before it is discarded. The
default is 20 seconds.
The forwarddelay, maxage and hellotime parameters should be set according
to the following formulae, as specified in IEEE Standard 802.1d:
2 x (forwarddelay - 1.0 seconds) >= maxage
maxage >= 2 x (hellotime + 1.0 seconds)
The mode parameter specifies whether the STP operates in standard or rapid
mode. In standard mode, the Spanning Tree Algorithm is run. In rapid mode,
the Rapid Spanning Tree Algorithm is run. The default is standard. If the mode
is changed while the algorithm is running, the STP is reinitialised.
If the mode parameter has been set to rapid, values specified for the priority
parameter must be multiples of 4096. If a value is specified that is not a