D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
87
config stp
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 users can issue this command.
Example usage:
To configure STP with maxage 18 and maxhops of 15:
DGS-3600:4#config stp maxage 18 maxhops 15
Command: config stp maxage 18 maxhops 15
Success.
DGS-3600:4#
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 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 range (also separated by a colon) are
specified. The beginning and end of the port list range are separated by a
dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies switch
number 2, port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3
and switch 2, port 4 in numerical order. Non-contiguous portlist entries are
separated by a comma. (ex: 1:1-1:3,1:7-1:9)