D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
74
that the Switch ha
s spanning tree configuration values consistent
with other devices on the bridged LAN. If the value ages out and a
BPDU has still not been received from the Root Bridge, the Switch
starts sending its own BPDU to all other switches for permission to
become the Root Bridge. If your switch has the lowest priority, it
becomes 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 value may be between 1 and 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, thus stating that the Switch is still
functioning. The value may be between 1 and 10 seconds. The
default value is 2 seconds.
forwarddelay <value 4-30> The amount of time (in seconds) that
the root device will wait before changing from Blocking to Listening ,
and from Listening to Learning states. The value may be 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 disable.
lbd [enable | disable] – To enable or disable the loopback Detection
feature.
lbd_recover_timer [<value 30-86400>} – Time in second for the loop
detection recorevy, it means that after this time there will be a check
whether the loop still exists, if it doesn’t exist the port state will be
changed to active.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To configure STP with maxage 18, maxhops of 15, enabling lbd and defining the lbd recovery time as 55:
DGS3100# config stp maxage 18 maxhops 15 lbd enable
lbd_recover_time 55
Success.
DGS3100#
config stp ports
Purpose To setup STP on the port level.
Syntax
config stp ports [<portlist> | <ch1-32>] {externalcost [auto |
<value 1-200000000>] | edge [true | false] | p2p [true | false |
auto ] | state [enable | disable] | fbpdu [enable | disable |
system]}
Description The config stp ports command configures STP for a group of ports.
Parameters <portlist> – A port or range of ports to be configured. The port list is