2-594
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portinstancecost
set spantree portinstancecost
To assign the path cost of the port for the specified instances, use the set spantree portinstancecost
command.
set spantree portinstancecost mod/port [cost cost] [instances]
set spantree portinstancecost mod/port [cost cost] mst [instances]
Syntax Description
Defaults The default path cost is based on port speed; see Table 2-25 for default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
If the spanning tree mode is short and long or MISTP, valid cost values are from 1 to 65535; otherwise,
valid cost values are from 1 to 2,000,000.
The port instance cost applies to trunk ports only.
The value specified is used as the path cost of the port for the spec ifie d inst ance s. The re st of th e
instances have a path cost equal to the port path cost set through the set spantree instancecost
command. (If not set, the value is the default path cost of the port.)
mod/port Number of the module and the port on the mod ule.
cost cost (Optional) Indicates the path cost; see the “Usage Guidelines”
section for additional information.
mst Sets the cost for an MST instance.
instances (Optional) Instance number; valid values are from 0 to 15.
Table2-25 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