D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 438
Defaults: The default STP priority for all network ports is 128.
Access: Enabled.
Examples: The following command sets the priority of ports 3 and 4 to 48 on VLAN mauve:
DWS-1008# set spantree portvlanpri 3-4 priority 48 vlan mauve
success: change accepted.
See Also:
• clear spantree portpri
• clear spantree portvlanpri
• set spantree portpri
• show spantree
set spantree priority
Changes the STP root bridge priority of a DWS-1008 switch on one or all of its VLANs.
Syntax: set spantree priority value {all | vlan vlan-id}
priority value Priority value. You can specify a value from 0 through 65,535. The bridge
with the lowest priority value is elected to be the root bridge for the
spanning tree.
all Changes the bridge priority on all VLANs.
vlan vlan-id VLAN name or number. MSS changes the bridge priority on
only the specified VLAN.
Defaults: The default root bridge priority for the switch on all VLANs is 32,768.
Access: Enabled.
Examples: The following command sets the bridge priority of VLAN pink to 69:
DWS-1008# set spantree priority 69 vlan pink
success: change accepted.
See Also:
show spantree