Hub/Switch Reference Guide

406 STP Commands
NN47250-100 (Version 02.51)
Defaults
The default port cost depends on the port speed and link type. Table 58 lists the defaults for STP
port path cost.
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:
WSS# set spantree portcost 3,4 cost 20
success: change accepted.
See Also
clear spantree portcost on page 390
clear spantree portvlancost on page 391
set spantree portvlancost on page 397
show spantree on page 400
show spantree portvlancost on page 406
set spantree portfast
Enables or disables STP port fast convergence on one or more ports on a WSS.
Syntax
set spantree portfast port port-list {enable | disable}
Table 1.SNMP Port Path Cost Defaults
Port Speed Link Type
Default Port Path
Cost
1000 Mbps Full Duplex Aggregate Link (Port
Group)
19
1000 Mbps Full Duplex 4
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
port port-list List of ports. WSS Software enables the feature on the specified ports.