D-Link DWS-1008 CLI Manual 436
set spantree portfast
Enables or disables STP port fast convergence on one or more ports on a switch.
Syntax: set spantree portfast port port-list {enable | disable}
port port-list List of ports. MSS enables the feature on the specified ports.
enable Enables port fast convergence.
disable Disables port fast convergence.
Defaults: STP port fast convergence is disabled by default.
Access: Enabled.
Usage: Use port fast convergence on ports that are directly connected to servers, hosts, or other
MAC stations.
Examples: The following command enables port fast convergence on ports 1, 3,and 5:
DWS-1008# set spantree portfast port 1,3,5 enable
success: change accepted.
See Also:
• show spantree portfast
set spantree portpri
Changes the STP priority of a network por t or ports for selection as part of the path to the STP
root bridge in the default VLAN on a DWS-1008 switch.
Syntax: set spantree portpri port-list priority value
port-list List of ports. MSS changes the priority on the specified ports.
priority value Priority value. You can specify a value from 0 (highest priority) through 255
(lowest priority).
Defaults: The default STP priority for all network ports is 128.
Access: Enabled.
Usage: This command applies only to the default VLAN (VLAN 1). To change the priority of a port
in another VLAN, use the set spantree portvlanpri command.
Examples: The following command sets the priority of ports 3 and 4 to 48:
DWS-1008# set spantree portpri 3-4 priority 48
success: change accepted.