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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

HSRP failing

Trying to setup HSRP between two 3550 routers and only fails over when the primary switch is shutdown, ...doesn't failover when a standby port is pulled, ...any ideas?

See attachment

1 ACCEPTED SOLUTION

Accepted Solutions

Re: HSRP failing

Appears, in the process of troubleshooting you have made some config changes and it's a little confusing.

Can you configure gig0/12 on both switches as follows and advise what's the status.

RouterA1:

interface GigabitEthernet0/2

no switchport

ip address 192.168.187.249 255.255.255.0

no ip redirects

no proxy arp

duplex full

standby 101 ip 192.168.187.251

standby 101 timers 1 3

standby 101 priority 200

standby 101 preempt

standby 101 track GigabitEthernet0/12

RouterB1:

interface GigabitEthernet0/2

no switchport

ip address 192.168.187.250 255.255.255.0

no ip redirects

no proxy arp

duplex full

standby 101 ip 192.168.187.251

standby 101 timers 1 3

standby 101 priority 199

standby 101 preempt

standby 101 track GigabitEthernet0/12

Above setup should make RouterA1 the active router. Admin down g0/12 on RouterA1 then RouterB1 should become the active router. Admin back up g0/12 on RouterA1 and it should become the active router again.

Let us know how it goes!

10 REPLIES

Re: HSRP failing

Anytime you track another interface in HSRP you need configure preempt under the interface. When the tracked interface goes down router would decrement the priority with the penalty value (default is 10). Even if there's another router with higher priority at that time it wouldn't become the active router if you didn't configure preempt for that group.

I see, RouterB doesn't have the preempt configured. Add the command "standby 101 preempt" under the g0/2 interface and that should take care of your problem.

HTH,

Sundar

New Member

Re: HSRP failing

Thanks Sundar,

I did have the preempt on the B router originally and it still failed, ...do you see any other anomalies in my configuration?

Thx

New Member

Re: HSRP failing

The set priority on the active router is 200.

Default HSRP priority is 100.

Decrement by 10 as u are default..It will never fail-over.

Reduce priority on the active router to 105

This should solve the problem

following should be the config

interface GigabitEthernet0/2

description Active router FTE yellow interface

no switchport

ip address 192.168.187.249 255.255.255.0

no ip redirects

no proxy arp

duplex full

standby 101 ip 192.168.187.251

standby 101 timers 1 3

standby 101 priority 105

standby 101 preempt

standby 101 track GigabitEthernet0/12

New Member

Re: HSRP failing

Thanks,

I tried the script and it still fails ping test from host to host, ...I've attached a show standby output.

New Member

Re: HSRP failing

Why the HSRP on the second router is showing priority of 104 , can u send the congs of both router now/

New Member

Re: HSRP failing

I set the A router to priority 105 as you suggested and then set the B router 100 (the priority entry wouln't show up for 100 so I manually set it to a slightly lower priority (104).

New Member

Re: HSRP failing

Two things

1. remove HSRP priority from stand-by router, remove the command itself. It will take the priority of 100 as default.

2. Why u have cross-ver between router a and router b and also configured hsrp there?

Both routers HSRP configured ports should be going to the switch, HSRP workes onheartbit and Multicast.

Unless u want to configure second HSRP group on

GigabitEthernet0/11 - remove it.

Hall of Fame Super Silver

Re: HSRP failing

Dave

I have looked at the configs that you posted and I do not see any particular issue with them. I do notice that both of the HSRP configurations are tracking Gig0/12. In looking at the configs it appears that the Gig0/12 are directly connected between the 3550s. I wonder if you pull the interface on one will the other not also go down? Certainly if they both go down, then both HSRP decrement and no failover will occur.

If I have not understood something correctly please clarify.

HTH

Rick

Re: HSRP failing

Appears, in the process of troubleshooting you have made some config changes and it's a little confusing.

Can you configure gig0/12 on both switches as follows and advise what's the status.

RouterA1:

interface GigabitEthernet0/2

no switchport

ip address 192.168.187.249 255.255.255.0

no ip redirects

no proxy arp

duplex full

standby 101 ip 192.168.187.251

standby 101 timers 1 3

standby 101 priority 200

standby 101 preempt

standby 101 track GigabitEthernet0/12

RouterB1:

interface GigabitEthernet0/2

no switchport

ip address 192.168.187.250 255.255.255.0

no ip redirects

no proxy arp

duplex full

standby 101 ip 192.168.187.251

standby 101 timers 1 3

standby 101 priority 199

standby 101 preempt

standby 101 track GigabitEthernet0/12

Above setup should make RouterA1 the active router. Admin down g0/12 on RouterA1 then RouterB1 should become the active router. Admin back up g0/12 on RouterA1 and it should become the active router again.

Let us know how it goes!

New Member

Re: HSRP failing

Thanks for all your help,...works!

163
Views
0
Helpful
10
Replies
CreatePlease login to create content