DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
The Spanning Tree commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
config stp
config stp ports
config stp version
enable stp
disable stp
show stp
show stp ports
show stp instance_id
show stp mst_config_id
config stp instance_id
config stp priority
config stp
mst_config_id
config stp mst_ports
Each command is listed in detail, as follows:
config stp
Purpose
Syntax
Description
Parameters
67
SPANNING TREE COMMANDS
Parameter
{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>]
[<portlist> | <ch1-32>] {externalcost [auto | <value 1-200000000>] | edge [true |
false] | p2p [true | false | auto ] | state [enable | disable] | fbpdu [enable | disable |
system]}
[mstp | rstp | stp]
{<portlist> | <ch1-32>}
<value 0-15>}
<value 1-15> [add_vlan | remove_vlan] <vidlist>
<value 0-61440> instance_id <value 0-15>
{revision_level <int 0-65535> | name <string>}
[<portlist | <ch1-32>] instance_id <value 0-15> {internalCost [auto | value 1-
200000000] | priority <value 0-240>}
To setup STP, RSTP and MSTP on the Switch.
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> ]
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.
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
9