D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 432
set spantree
Enables or disables STP on one VLAN or all VLANs configured on a DWS-1008 switch.
Syntax: set spantree {enable | disable} [{all | vlan vlan-id | port port-list vlan-id}]
enable Enables STP.
disable Disables STP.
all Enables or disables STP on all VLANs.
vlan vlan-id VLAN name or number. MSS enables or disables STP on only the
specified VLAN, on all ports within the VLAN.
port port-list vlan-id Port number or list and the VLAN the ports are in. MSS enables or
disables STP on only the specified ports, within the specified VLAN.
Defaults: Disabled.
Access: Enabled.
Examples: The following command enables STP on all VLANs configured on a switch:
DWS-1008# set spantree enable
success: change accepted.
The following command disables STP on VLAN burgundy:
DWS-1008# set spantree disable vlan burgundy
success: change accepted.
See Also:
• show spantree
set spantree backbonefast
Enables or disables STP backbone fast convergence on a switch. This feature accelerates a
port’s recovery following the failure of an indirect link.
Syntax: set spantree backbonefast {enable | disable}
enable Enables backbone fast convergence.
disable Disables backbone fast convergence.