System information
236
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
STP Commands
SNMP Port Path Cost Defaults:
Port Speed Link Type Default Port Path Cost
100 Mbps Full Duplex Aggregate
Link (Port Group)
19
100 Mbps Full Duplex 18
100 Mbps Half Duplex 19
10 Mbps Full Duplex Aggregate
Link (Port Group)
19
10 Mbps Full Duplex 95
10 Mbps Half Duplex 100
Access: Enabled.
Usage: This command applies only to the default VLAN (VLAN 1). To change the cost
of a port in another VLAN, use the set spantree portvlancost command.
Examples: The following command changes the cost on ports 3 and 4 to 20:
DWS-1008# set spantree portcost 3,4 cost 20
success: change accepted.
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
speciļ¬ed 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 6:
DWS-1008# set spantree portfast port 1,3,6 enable
success: change accepted.










