cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
361
Views
0
Helpful
1
Replies

Loadbalancing in STP

irfan_1505
Level 1
Level 1

The below question was asked in the interview that i faced..

How come load balancing possible in STP?

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Irfan

CS1 = core switch 1

CS2 = core switch 2

CS1 & CS2 connected via a L2 trunk. These switches are responsible for inter-vlan routing. You have 10 vlans on the switches - vlans 1 - 10.

AS1 = access-layer switch.

AS1 is connected to CS1 and CS2 with L2 trunk links. All 10 vlans are present on AS1.

To load balance using STP you would do the following

1) For vlans 1 - 5 set the STP root to be CS1 and the STP secondary to be CS2.

2) For vlans 6 - 10 set the STP root to be CS2 and the STP secondary to be CS1.

3) Ensure that the trunk link between CS1 & CS2 is not blocked by STP.

With this scenario AS1 will forward vlans 1 - 5 using CS1 uplink and block vlans 6 - 10 on this same uplink. And AS1 will forward vlans 6 - 10 using CS2 uplink and block vlans 1 - 5 on this same uplink.

Note that when you use this setup you generally match up the HSRP active gateway as well ie. HSRP active gateway for vlans 1 - 5 would be CS1 and for vlans 6 - 10 it would be CS2.

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card