User guide

6-6 B
LACK
D
IAMOND
U
SER
G
UIDE
S
PANNING
T
REE
P
ROTOCOL
(STP)
The following parameters can be configured on each port:
Path cost
Port priority
The device supports the RFC 1493 Bridge MIB. Parameters of only the s0 default
STPD are accessible through this MIB.
Table 6-1 shows the commands used to configure STP.
Table 6-1:
STP Configuration Commands
Command Description
create stpd <stpd_name> Creates an STPD. When created, an STPD has
the following default parameters:
Bridge priority — 32,768
Hello time — 2 seconds
Forward delay — 15 seconds
enable stpd [<stpd_name> | all] Enables the STP protocol for one or all STPDs.
The default setting is disabled.
enable stpd port <slot:portlist> Enables the STP protocol on one or more ports.
If STPD is enabled for a port, Bridge Protocol
Data Units (BPDUs) will be generated on that
port if STP is enabled for the associated STPD.
The default setting is enabled.
config stpd <stpd_name> add vlan <name> Adds a VLAN to the STPD.
config stpd <stpd_name> hellotime <value> Specifies the time delay (in seconds) between
the transmission of BPDUs from this STPD when
it is the Root Bridge.
The range is 1 through 10. The default setting is
2 seconds.
config stpd <stpd_name> forwarddelay
<value>
Specifies the time (in seconds) that the ports in
this STPD spend in the listening and learning
states when the switch is the Root Bridge.
The range is 4 through 30. The default setting is
15 seconds.