A SERVICE OF

logo

2-622
Catalyst 6500 Series Switch Command Reference—Release 8.1
78-15474-01
Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portinstancecost
Examples These examples show how to use the set spantree portinstancecost command and explicitly specify the
path cost of a port:
Console> (enable) set spantree portinstancecost 2/10 cost 6 1-10
Port 2/10 instances 11-16 have path cost 2000000.
Port 2/10 instances 1-10 have path cost 6.
This parameter applies to trunking ports only.
Console> (enable)
These examples show how to use the set spantree portinstancecost command without explicitly
specifying the path cost of a port:
Console> (enable) set spantree portinstancecost 1/2
Port 1/2 Instances 1-1005 have path cost 3100.
Console> (enable)
Console> (enable) set spantree portinstancecost 1/2 16
Port 1/2 Instances 16,22-1005 have path cost 3100.
Console> (enable)
This example shows the display if you enter the command when PVST+ is enabled:
Console> (enable) set spantree portinstancecost 3/1
This command is only valid when STP is in MISTP or MISTP-PVST+ mode.
Console> (enable)
This example shows how to set the port cost for a specific MST instance:
Console> (enable) set spantree portinstancecost 2/10 cost 6 1-10 mst
Port 2/10 mst instances 1-10 have path cost 6.
This parameter applies to trunking ports only.
Console> (enable)
Related Commands clear spantree portinstancecost
show spantree mistp-instance