2-682
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree defaultcostmode
set spantree defaultcostmode
To specify the spanning tree default port cost mode, use the set spantree default cos tmode com ma nd .
set spantree defaultcostmode {short | long}
Syntax Description
Defaults The default is short.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The set spantree defaultcostmode long command is available in PVST+ mode only. If you enter this
command in MISTP or MISTP-PVST+ mode, this message is displayed:
In MISTP or MISTP-PVST+ mode, default portcost and portinstancecost always
use long format default values.
All switches in a network must have the same default. If any switch in the network supports port spe eds
of 10 gigabits and greater, the default cost mode must be set to long on all the switches in the network.
For port speeds of 1 gigabits and greater, the default port cost should be se t to long. For port speeds less
than 10 gigabits, the default port cost can be set to short.
The default path cost is based on port speed; see Table 2-24 and Table 2 -25 for default settings.
short Sets the default port cost for port speeds slower than 10 gigabits.
long Sets the default port cost mode port speeds of 10gigabits and faster.
Table2-24 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