2-626
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set spantree portvlancost
set spantree portvlancostTo 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-27 and Table 2 -28 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 fro m 1 t o 10 05 an d f ro m
1025 to 4094.
Table2-27 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-28 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