cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3546
Views
0
Helpful
6
Replies

Rapid Spanning Tree and Etherchannel

lcaruso
Level 6
Level 6

Hi,

What configuration is needed to implment Etherchannel between two switches in a rapid spanning tree environment? Any examples/links appreciated.

Is the best load balancing algo dest-ip for this scenario?

One side is root bridge/core switch and other side is access switch both running 12.2 latest IOS.

Thanks.

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Just add the physical posts to the portchannel.  In this example, I am using LACP, so one side is active and the other side is passive. You can also use PAGP or mode on.  If your access switches are 3560 or 3750 series, the default for load balancing is source-destination MAC. You can just use the default.

example

core switch

inter gi1/1

channel-group 10 mode active

inter gi1/2

channel-group 10 mode active

inter po10

switchport

switchport trunk enca dot

switch port mode trunk

no sh

access switch

inter gi1/1

channel-group 10 mode passive

inter gi1/2

channel-group 10 mode passive

inter po10

switchport

switchport trunk enca dot

switch port mode trunk

no sh

HTH

View solution in original post

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Is the best load balancing algo dest-ip for this scenario?

That depends.  What you want is the best mix for the traffic crossing the link.  If all/most traffic was going to the same host, dest-ip would direct all that traffic to the same physical link.  If your platform supports it, balancing that uses both src and dest generally results in better "randomization" of traffic across the Etherchannel.

View solution in original post

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Just add the physical posts to the portchannel.  In this example, I am using LACP, so one side is active and the other side is passive. You can also use PAGP or mode on.  If your access switches are 3560 or 3750 series, the default for load balancing is source-destination MAC. You can just use the default.

example

core switch

inter gi1/1

channel-group 10 mode active

inter gi1/2

channel-group 10 mode active

inter po10

switchport

switchport trunk enca dot

switch port mode trunk

no sh

access switch

inter gi1/1

channel-group 10 mode passive

inter gi1/2

channel-group 10 mode passive

inter po10

switchport

switchport trunk enca dot

switch port mode trunk

no sh

HTH

Thanks for your reply. Sorry if I was vague about the example.

My question really was how does an etherchannel configuration inform spanning tree that it is permissible to have multiple active redundant links between the two switches?

My impression was you had to configure that also in addtion to a standard EC setup as you have provided.

Thanks.

You don't need to configure spanning tree specifically for the Portchannel.  STP looks at the Portchannel bundle as one logical link.  The STP cost will change as you add more physical link to the Portchannel.  For example: if you have one gig link in the Portchannel the cost is 4, when you add a second link the cost will change to 3, with 3 gig port the cost will be 2 and so on.....

HTH

Can UDLD be used with Etherchannel?

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

Is the best load balancing algo dest-ip for this scenario?

That depends.  What you want is the best mix for the traffic crossing the link.  If all/most traffic was going to the same host, dest-ip would direct all that traffic to the same physical link.  If your platform supports it, balancing that uses both src and dest generally results in better "randomization" of traffic across the Etherchannel.

Review Cisco Networking for a $25 gift card