2-117
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portvlancost
clear spantree portvlancost
To restore the default path cost to a VLAN on a port, use the clear spantree portvlancost command.
clear spantree portvlancost mod/port [vlans]
Syntax Description
Defaults The default path cost is based on port speed; see Table 2-8 and Ta ble 2- 9 for default settings.
Command Types Switch command.
Command Modes Privileged.
mod/port Number of the module and the port on the module.
vlans (Optional) Number of the VLAN; valid values are from 1 to 1000 and from
1025 to 4094.
Table2-8 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-9 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
100 Mb 200,000
1 Gb 20,000
10 Gb 2,000
100 Gb 200
1 Tb 20
10 Tb 2