2-121
Catalyst 6500 Series Switch Command Reference—Release8.1
78-15474-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands clear spantree portcost
clear spantree portcost
To clear the port cost of a port on the switch, use the clear spantree portcost command.
clear spantree portcost mod/port [mst]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Examples This example shows how to restore the default path cost on a port:
Console> (enable) clear spantree portcost 3/1
Port 3/1 is using the cost 0.
Console> (enable)
This example shows how to restore the default path cost to all MST instances on a port:
Console> (enable) clear spantree portcost 8/1 mst
Port 8/1 MST is using the cost 20000 in MST mode.
Console> (enable)
Related Commands set spantree portcost
show spantree statistics
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.