![D-Link xStack DGS-3600 Series Cli Manual Download Page 92](http://html1.mh-extra.com/html/d-link/xstack-dgs-3600-series/xstack-dgs-3600-series_cli-manual_4127464092.webp)
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
89
config stp
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.
txholdcount <value 1-10>
- The maximum number of BPDU Hello packets
transmitted per interval. The default value is
3
.
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
.
lbd [enable | disable] –
This feature is used to temporarily shutdown a port
on the Switch when a BPDU packet has been looped back to the switch.
When the Switch detects its own BPDU packet coming back, it signifies a
loop on the network. STP will automatically be blocked and an alert will be
sent to the administrator. The LBD STP port will restart (change to
discarding state) when the LBD Recover Time times out. The Loopback
Detection function will only be implemented on one port at a time. The
default is enabled.
lbd_recover_timer [<value 0> | <value 60-1000000>] -
This field will set the
time the STP port will wait before recovering the STP state set.
0
will
denote that the LBD will never time out or restart until the administrator
personally changes it. The user may also set a time between
60
and
1000000
seconds. The default is
60
seconds.
Restrictions
Only administrator-level and operator-level users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
DGS-3627:5#config stp maxage 18 maxhops 15
Command: config stp maxage 18 maxhops 15
Success.
DGS-3627:5#
config stp ports
Purpose
Used to setup STP on the port level.
Syntax
config stp ports <portlist> {externalCost [auto | <value 1-200000000>] |
hellotime <value 1-10> | migrate [yes | no] edge [true | false] | p2p [true |
false | auto] | state [enable | disable] | lbd [enable | disable] | fbpdu
[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 beginning and
end of the port list range are separated by a dash.
externalCost
−
This defines a metric that indicates the relative cost of
forwarding packets to the specified port list. Port cost can be set
automatically or as a metric value. The default value is
auto
.
•
auto
– Setting this parameter for the external cost will automatically
set the speed for forwarding packets to the specified port(s) in the list
for optimal efficiency. Default port cost: 100Mbps port = 200000.