Specifications

DGS-3048 Layer 2 Switch CLI Reference Manual
68
config stp
become the Root Bridge. The user may choose a time between 6
and 40 seconds. The default value is 20.
maxhops <value 1-20> - The number of hops between devices in
a spanning tree region before the BPDU (bridge protocol data
unit) packet sent by the Switch will be discarded. Each switch on
the hop count will reduce the hop count by one until the value
reaches zero. The Switch will then discard the BDPU packet and
the information held for the port will age out. The user may set a
hop count from 1 to 20. The default is 20.
hellotime <value 1-10> The user may set the time interval
between transmission of configuration messages by the root
device in STP, or by the designated router in RSTP, thus stating
that the Switch is still functioning. A time between 1 and 10
seconds may be chosen, with a default setting of 2 seconds.
In MSTP, the spanning tree is configured by port and
therefore, the hellotime must be set using the configure stp ports
command for switches utilizing the Multiple Spanning Tree
Protocol.
forwarddelay <value 4-30> The maximum amount of time (in
seconds) that the root device will wait before changing states. The
user may choose a time between 4 and 30 seconds. The default is
15 seconds.
fbpdu [enable | disable] Allows the forwarding of STP BPDU
packets from other network devices when STP is disabled on the
Switch. The default is enable.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
DGS3048#config stp maxage 18 maxhops 15
Command: config stp maxage 18 maxhops 15
Success.
DGS3048#
config stp ports
Purpose Used to setup STP on the port level.
Syntax
config stp ports <portlist> {externalCost [auto | <value 1-
200000000>] | edge [true | false] | p2p [true | false | auto ] |
state [enable | disable]}
Description This command is used to create and configure STP for a group of
ports.
Parameters
<portlist> Specifies a range of ports to be configured. The port
list is specified by listing the lowest switch number and the
beginning port number on that switch, separated by a colon. Then
the highest switch number, and the highest port number of the