2-599
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlancost
set spantree portvlancost
To assign a lower path cost to a set of VLANs on a port, use the set spantree portvlancost command.
set spantree portvlancost mod/port [cost cost] [vlan_list]
Syntax Description
Defaults The default path cost is based on port speed; see Table 2-26 and Table 2 -27 for default settings.
Command Types Switch command.
mod/port Number of the module and the port on the mod ule.
cost cost (Optional) Sets the path cost; valid values are from 1 to 65535.
vlan_list (Optional) Number of the VLAN; valid values are from 1 to 10 05
and from 1025 to 4094.
Table2-26 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-27 Default Port Cost—Long Mode
Port Speed Default Port Cost
100 Kb 200,000,000
1 Mb 20,000,000
10 Mb 2,000,000
10 Mb 200,000
1 Gb 20,000
10 Gb 2,000
100 Gb 200
1 Tb 20
10 Tb 2