D-Link DS-3550 Command Line Interface Reference Manual - page 74
66
10
S
PANNING
T
REE
C
OMMANDS
The switch supports 802.1d STP and 802.1w Rapid STP. The spanning tree commands in the Command Line Interface (CLI)
are listed (along with the appropriate parameters) in the following table.
Command Parameters
config stp
{maxage
txholdcount
config stp ports
[all | 0-240>|migrate [yes | no] |edge [true | false]|p2p [true | false | auto] |state [enable | disable]} enable stp disable stp show stp show stp ports
Each command is listed, in detail, in the following sections. config stp Purpose Used to setup STP and RSTP on the switch. Syntax config stp {maxage forwarddelay version[rstp | stp] | txholdcount disable]} Description This command is used to setup the Spanning Tree Protocol (STP) for the entire switch. Parameters maxage − The maximum amount of time (in seconds) that the switch will wait to receive a BPDU packet before reconfiguring STP. The user may choose a time between 6 and 40 seconds. The default is 20 seconds. hellotime − The time interval between transmission of configuration messages by the root device. The user may choose a time between 1 and 10 seconds. The default is 2 seconds. forwarddelay − 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. priority − A numerical value between 0 and 61440 that is used in determining the root device, root port, and designated port. The device with the highest priority becomes the root device. The lower the numerical value, the higher the priority. The default is 32,768. version [rstp | stp] - select the Spanning Tree Protocol version used for the switch.