Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

STP Etherchannel Question

Does STP consider the cumulative bandwidth of an etherchannel when calculating cost to the root?

Thanks

3 REPLIES
Cisco Employee

Re: STP Etherchannel Question

Hi,

The answer is yes.

IOS will update dynamically the cost based on the number of active links in the bundle. If you don't want STP to converge in case you loose one of link of the bundle, you need to statically configure the cost for that bundle.

An internal formula is used to determine the default cost for an etherchannel which leads to the following default values:

2-ports GE bundle -> 3

3-ports GE to 7-ports GE bundle -> 2

8-ports GE  bundle -> 1

2-ports 10GE  bundle -> 1

If you want more granularity and still have the dynamic cost update, you can change the coding from 16bits to 32bits. In this case you will have a unique value based on the number of links and the speed of the link. You need to configure spanning-tree pathcost method long on the swith.

HTH

Laurent.

Community Member

Re: STP Etherchannel Question

laurent:

"IOS will update dynamically the cost based on the number of active links  in the bundle"

Isnt that true just for LACP and not for PAgP?

Also, can you be a little more specific regaring the last part of your post? The 32-bit to 64-bit thing...

Thanks!

Hall of Fame Super Blue

Re: STP Etherchannel Question

ex-engineer wrote:

laurent:

"IOS will update dynamically the cost based on the number of active links  in the bundle"

Isnt that true just for LACP and not for PAgP?

Also, can you be a little more specific regaring the last part of your post? The 32-bit to 64-bit thing...

Thanks!

It's not LACP or PaGP that is dynamically updating, it is STP.

Currently STP uses 16bit numbers for cost. Because nowadays we can have multi-gigabit and 10Gbps links the granularity isn't really there with 16bit numbers so you can use 32bit numbering instead. Below is how the costs would change using 32bit numbering -

BandwidthOld STP valueNew Long STP value
10 Mbps1002,000,000
100 Mbps19200,000
1 Gbps420,000
N X 1 Gbps310,000
10 Gbps22,000
100 GbpsN/A200
1 TbpsN/A20
10 TbpsN/A2

Jon

981
Views
10
Helpful
3
Replies
CreatePlease to create content