From: Jeff Kesemeyer (jkesemey@bellsouth.net)
Date: Sat Mar 03 2007 - 12:28:27 ART
Correct, I was staying with 3550's and 3560's, for 6500,4500, and
others it does exist. Here's the guidelines for the command.
Usage Guidelines
This command applies to all the spanning-tree instances on the
Catalyst 6500 series switch.
The long path-cost calculation method utilizes all 32 bits for path-
cost calculation and yields values in the range of 1 through
200,000,000.
The short path-cost calculation method (16 bits) yields values in the
range of 1 through 65535.
Examples
This example shows how to set the default path-cost calculation
method to long:
Router(config#) spanning-tree pathcost method long
Router(config#)
This example shows how to set the default path-cost calculation
method to short:
Router(config#) spanning-tree pathcost method short
Router(config#)
Related Commands
http://www.cisco.com/en/US/products/hw/switches/ps708/
products_command_reference_chapter09186a00801eaed9.html#wp1431558
Jeff Kesemeyer
CCNP, CCDP, CNX, MCSE, CNE
Bradshaw Labs Inc.
Your CCIE Rack Rental Source
www.bradshawlabs.com
On Mar 3, 2007, at 10:19 AM, Antonio Soares wrote:
> That command exists but is not supported at least in the 3560's:
>
> http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/12235se/
> scg1/swu
> ncli.htm#wp1014629
>
>
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On
> Behalf Of Jeff
> Kesemeyer
> Sent: sabado, 3 de Margo de 2007 12:52
> To: nhatphuc
> Cc: Cisco certification
> Subject: Re: spanning-tree pathcost method
>
> The spanning-tree path-cost command does not exist, the two
> commands for
> configuring cost for STP is:
>
> spanning-tree cost <cost>
> Change the cost for an access port to select the best route.
>
> spanning-tree vlan <vlan> cost <cost>
> Change the VLAN cost for a trunk port so you can select which vlan
> goes over
> which trunk when multiple trunks exist, or etherchannel is
> implemented.
>
> Here's Cisco link for STP Technologies.
> http://www.cisco.com/en/US/tech/tk389/tk621/
> tsd_technology_support_protocol_home.html
>
> Jeff Kesemeyer
> CCNP, CCDP, CNX, MCSE, CNE
> Bradshaw Labs Inc.
> Your CCIE Rack Rental Source
> www.bradshawlabs.com
>
>
>
>
> On Mar 3, 2007, at 12:57 AM, nhatphuc wrote:
>
>> Darby,
>>
>> Thanks for replying, but I didn't mention spanning-tree cost, the
>> exact command I asked is: spanning-tree pathcost method
>>
>> Thanks
>>
>> On 3/3/07, Darby Weaver <darbyweaver@yahoo.com> wrote:
>>>
>>> Here you go - syntax can be important.
>>> ======================================
>>>
>>> spanning-tree cost
>>> Use the spanning-tree cost interface configuration command to set
>>> the
>>> path cost for spanning-tree calculations. If a loop occurs, spanning
>>> tree considers the path cost when selecting an interface to place in
>>> the forwarding state. Use the no form of this command to return to
>>> the default setting.
>>>
>>> spanning-tree [vlan vlan-id] cost cost
>>>
>>> no spanning-tree [vlan vlan-id] cost
>>>
>>> Syntax Description
>>> vlan vlan-id
>>> (Optional) VLAN range associated with a spanning-tree instance. You
>>> can specify a single VLAN identified by VLAN ID number, a range of
>>> VLANs separated by a hyphen, or a series of VLANs separated by a
>>> comma. The range is 1 to 4094.
>>>
>>> cost
>>> Path cost. The range is 1 to 200000000, with higher values meaning
>>> higher costs.
>>>
>>>
>>>
>>>
>>> Defaults
>>> The default path cost is computed from the interface bandwidth
>>> setting. These are the IEEE default path cost values:
>>>
>>> 1000 Mbps4
>>>
>>> 100 Mbps19
>>>
>>> 10 Mbps100
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>> http://www.cisco.com/univercd/cc/td/doc/product/lan/cat3560/12235se/
>> cr/cli3.h
>> tm#wp1945601
>>>
>>>
>>>
>>> --- nhatphuc <nhatphuc@gmail.com> wrote:
>>>
>>>> Hi Group,
>>>>
>>>> Can you give me the link to "spanning-tree pathcost method" command
>>>> of 3550 or 3560? I've surfed the CiscoDoc but hasn't found.
>>>>
>>>> Thanks
>>>>
>>>> Phuc
>>>>
>>>>
>>> ____________________________________________________________________
>>> _
>>> __
>>>> Subscription information may be found at:
>>>> http://www.groupstudy.com/list/CCIELab.html
>>
>> _____________________________________________________________________
>> _
>> _
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
> ______________________________________________________________________
> _
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
> ______________________________________________________________________
> _
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:50 ART