From: Darby Weaver (darbyweaver@yahoo.com)
Date: Sat Mar 03 2007 - 02:11:23 ART
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.htm#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
>
>
This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:50 ART