2-122
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
clear spantree portinstancecost
clear spantree portinstancecost
To restore the default path cost to an instance on a port, use the clear spantree portinstancecost
command.
clear spantree portinstancecost mod/port [mst] instances
Syntax Description
Defaults The default path cost is based on port speed; see Table 2-7 for default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is valid in MISTP and MST modes only.
Examples This example shows how to restore the default path cost to an instance on a port:
Console> (enable) clear spantree portinstancecost 5/1 2
Port 5/1 mistp-instance 1-16 have path cost 200000.
Console> (enable)
This example shows how to restore the default path cost to all MST instances on a port:
Console> (enable) clear spantree portinstancecost 8/1 mst 0-15
Port 8/1 MST Instance 0-15 have path cost 20000.
Console> (enable)
mod/port Number of the module and the port on the module.
mst (Optional) Restores the default path cost to an MST instance on a port.
instances Number of the instance; valid values are from 0 to 15.
Table2-7 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