2-616
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portcost
set spantree portcost
To set the path cost for a port, use the set spantree portcost command.
set spantree portcost mod/port cost [mst]
Syntax Description
Defaults The default path cost is based on port speed; see Table 2-24 and Table 2 -25 for default settings.
mod/port Number of the module and the port on the module.
cost Number of the path cost; see the “Usage Guidelines” section for additional information.
mst (Optional) Sets the path cost for an MST port.
Table2-24 Default Port Cost—Short Mode
Port Speed Default Port Cost
4 Mb 250
10 Mb 100
16 Mb 62
100 Mb 19
155 Mb 14
1 Gb 4
10 Gb 2
Table2-25 Default Port Cost—Long Mode
Port Speed Default Port Cost
100 Kb 200000000 (200 million)
1 Mb 20000000 (20 million)
10 Mb 2000000 (2 million)
10 Mb 200000 (200 thousand)
1 Gb 20000 (20 thou sa nd)
10 Gb 2000 (2 t housa nd )
100 Gb 200
1 Tb 20
10 Tb 2