D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
73
10
SPANNING TREE COMMANDS
The Spanning Tree commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command Parameter
config stp
{maxage <value 6-40> | maxhops <value 1-20> | hellotime <value 1-10> |
forwarddelay <value 4-30>| fbpdu [enable | disable]} lbd [enable | disable] |
lbd_recover_timer [<value 30-86400>]
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]}
config stp version [mstp | rstp | stp]
enable stp
disable stp
show stp
show stp ports {<portlist> | <ch1-32>}
show stp instance_id <value 0-15>}
show stp mst_config_id
config stp instance_id <value 1-15> [add_vlan | remove_vlan] <vidlist>
config stp priority <value 0-61440> instance_id <value 0-15>
config stp
mst_config_id
{revision_level <int 0-65535> | name <string>}
config stp mst_ports
[<portlist | <ch1-32>] instance_id <value 0-15> {internalCost [auto | value 1-
200000000] | priority <value 0-240>}
Each command is listed in detail, as follows:
config stp
Purpose To setup STP, RSTP and MSTP on the Switch.
Syntax
config stp {maxage <value 6-40> | maxhops <value 1-20> |
hellotime <value 1-10> | forwarddelay <value 4-30>| fbpdu
[enable | disable]} lbd [enable | disable] | lbd_recover_time
<value 30-86400> ]
Description The config stp command configures the Spanning Tree Protocol
(STP) for the entire switch. All commands here are implemented for
the STP version that is currently set on the Switch.
Parameters maxage <value 6-40> This value may be set to ensure that old
information does not endlessly circulate through redundant paths in
the network, preventing the effective propagation of the new
information. Set by the Root Bridge, this value aids in determining