Specifications
380 ExtremeWare XOS 10.1 Command Reference Guide
STP Commands
configure stpd ports cost
configure stpd <stpd_name> ports cost <cost> <port_list>
Description
Specifies the path cost of the port in the specified STPD.
Syntax Description
Default
The switch automatically assigns a default path cost based on the speed of the port, as follows:
• For a 10Mbps port, the default cost is 100.
• For a 100Mbps port, the default cost is 19.
• For a 1000Mbps port, the default cost is 4.
• For a 10000Mbps ports, the default cost is 2.
Usage Guidelines
After you have created the STPD with a unique name, the keyword stpd is optional.
You should not configure any STP parameters unless you have considerable knowledge and experience
with STP. The default STP parameters are adequate for most networks.
On a modular switch, <port_list> can be a list of slots and ports. For a detailed explanation of port
specification, see “Modular Switch Numerical Ranges” in Chapter 1.
The range for the cost parameter is 1 through 65,535. The switch automatically assigns a default path
cost based on the speed of the port.
Example
The following command configures a cost of 100 to slot 2, ports 1 through 5 in STPD s0:
configure stpd s0 ports cost 100 2:1-2:5
stpd_name Specifies an STPD name on the switch.
cost Specifies a numerical port cost value. The range is 1 through 65,535.
port_list Specifies one or more slots and ports. May be in the form 2:*, 2:5, 2:6-2:8.