cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
479
Views
9
Helpful
5
Replies

HSRP and load balancing between 2 6509 switch

charleskoh
Level 1
Level 1

hi there, im quite new to these and i want to ask u guys

if 1 have 2 6509 with identical modules installed, lets assume that each of it have 1 MSFC installed

how can i acheived link redundancy and load balancing? can someone explain with diagram??

lets also assume i have 6 Vlans in total where i want odd number vlan goes to sw1, even to sw 2.... how can i acheive that? using HSRP? how?

5 Replies 5

paddyxdoyle
Level 6
Level 6

Hi,

HSRP can be used to load share VLANs across two switches but not load balance.

For example, you can set up HRSP so that the default gateway for VLAN2 is active on switch one and the default gateway for VLAN3 is active on switch two by setting the priorities of the standby group. Should switch 1 fail, the the virtual interface for VLAN2 will fail over to switch 2 and vice versa.

switch1

-------

int vlan 2

ip address 10.1.2.2 255.255.255.0

standby 3 ip 10.1.2.1

standby 3 preempt

int vlan 3

ip address 10.1.3.2 255.255.255.0

standby 3 ip 10.16.2.1

standby 3 preempt

standby 3 priority 95

switch2

-------

int vlan 2

ip address 10.1.2.3 255.255.255.0

standby 3 ip 10.1.2.1

standby 3 preempt

standby 3 priority 95

int vlan 3

ip address 10.1.3.3 255.255.255.0

standby 3 ip 10.16.2.1

standby 3 preempt

If you want odd VLANs to be active on switch1 and even on switch2 then you can just change the priorities of the standby groups to suit.

There's a good document here which should answer all your questions:

http://www.cisco.com/en/US/tech/tk648/tk362/technologies_tech_note09186a0080094afd.shtml

HTH

Paddy

ankurbhasin
Level 9
Level 9

Hi Charleskoh,

Yes you can ofcourse achieve this via HSRP.

Check this link.

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/sw_7_2/confg_gd/redund.htm#wp1058202

It will give you a complete knowledge of redundancy config in cat6000 switch and also how you can achieve redundancy between 2 chassis even if you have 2 msfc in each chassis.

HTH

Ankur

charleskoh
Level 1
Level 1

can i do it this way?? so even goes to sw1, odd goes to sw2

switch1

-------

int vlan 2

ip address 10.1.2.2 255.255.255.0

standby 3 ip 10.1.2.1

standby 3 preempt

int vlan 3

ip address 10.1.3.2 255.255.255.0

standby 3 ip 10.1.3.1

standby 3 preempt

standby 3 priority 95

int vlan 4

ip address 10.1.4.2 255.255.255.0

standby 3 ip 10.1.4.1

standby 3 preempt

int vlan 5

ip address 10.1.5.2 255.255.255.0

standby 3 ip 10.1.5.1

standby 3 preempt

standby 3 priority 95

switch2

-------

int vlan 2

ip address 10.1.2.3 255.255.255.0

standby 3 ip 10.1.2.1

standby 3 preempt

standby 3 priority 95

int vlan 3

ip address 10.1.3.3 255.255.255.0

standby 3 ip 10.1.3.1

standby 3 preempt

int vlan 4

ip address 10.1.4.3 255.255.255.0

standby 3 ip 10.1.4.1

standby 3 preempt

standby 3 priority 95

int vlan 5

ip address 10.1.5.3 255.255.255.0

standby 3 ip 10.1.5.1

standby 3 preempt

Yes, that's why i posted it

:)

One more thing that i would like to mention make sure that sw1 is root bridge for odd vlan's and sw2 is root bridge for even vlan.

you can use this commands

sw1

set spannig-tree vlan 3 5 7 root primary

sw2

set spannig-tree vlan 2 4 6 root primary

And make sure that you are using pervlan spanning tree in your network.

Thanks and Regards

Review Cisco Networking for a $25 gift card