HSRP to test a Switch Failing

Unanswered Question
Jun 14th, 2007
User Badges:

Hello braintrust. This is a pretty cool one here.

I have been tasked by a Customer to test Dual Core switch Failover for some Web servers for a Data Center. These Web SErvers use an bonding driver which effectively lets you have two NIC cards that someone with the driver host a VIP.

I have had to create a Test Environment of sorts; they have a QA environment where there are some 3750 switches. These switches do have some VLAN's on them.

Do create a test scenario to test HSRP failover, what I did was turn on VTP between switches, then created a VLAN 4. On each of the switches that will receive a connection from the server (effectively call them switch 1 and switch 2), I have created an interface in VLAN 4. SW.1 has an IP of 192.168.4.1; the SW.2 has an IP of 192.168.4.2, then I have standby commands for HSRP using "standby ip 192.168.4.3".

My question is this: Should I have a preempt statement on each VLAN 4 interface on each switch, or does it only go on the primary sw vlan???

thx...

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
balajitvk Thu, 06/14/2007 - 09:43
User Badges:
  • Silver, 250 points or more

Hi,


Yes, it is better to give on both switches.....


It allows the router to become the active router when the priority

is higher than all other HSRP-configured routers in the hot standby group.

If you do not use the standby preempt command in the configuration

for a router, that router does not become the active router, even if

the priority is higher than all other routers.


Since in your case, there are only two routers you can give in only on primary so that it come alive even though the secondary is in active status.


Rate if it does,

Rgs.

Actions

This Discussion