cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
975
Views
0
Helpful
8
Replies

HSRP Transition Issue

Hello,

 

I have an issue I cannot figure out how to solve. I have HSRP running on just two routers configured on the sub-interfaces, with load balancing (Half the sub-interfaces on RTR1 as active, the other have on RTR2 as active). I have it set up in a lab that is simulating my production network. On VLAN1 (Active RTR1), I have a computer with a static IP. On VLAN2 (Active RTR2), I have another computer that is continuously pinging VLAN1 Computer. When I do a shut on the sub-interface RTR1-VLAN1, it is a seamless transition to RTR2. When I no-shut RTR1-VLAN1, it does 1 request timeout and picks it back up. My issue though is when I do a shut on the physical port, RTR1-Port1, it acts the same as doing the shut on the sub-interface with the seamless transition, but when I enable the interface, the continuous ping does at least 7 Request timeouts before picking back up. In my network, having 7 request timeouts is unacceptable. Is there a way to knock down this number and have it provide a seamless transition just like shutting down the sub-interface? Any help and advice would be greatly appreciated.

8 Replies 8

Hello,

 

try and set the timers to the lowest value possible (which I think is the below):

 

standby 1 timers msec 15 msec 50

I set the timers as suggested and still the same outcome.

Jaderson Pessoa
VIP Alumni
VIP Alumni
Hello,

Could you share your configuration?

show standby brief
show running-config
show ip int brief
Jaderson Pessoa
*** Rate All Helpful Responses ***

Here is what I currently have running.

Hello,

 

make the changes marked in bold to your configurations and test again. Basically, take the preempt delay out and configure both standby groups with the minimum timers...

 

hostname RTR1
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
!
interface GigabitEthernet0/0/0.700
encapsulation dot1Q 700
ip address 192.168.1.252 255.255.254.0
standby version 2
standby 1 ip 192.168.1.254
standby 1 timers msec 15 msec 50
standby 1 priority 105
standby 1 preempt
!
interface GigabitEthernet0/0/1
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0/0/1.950
encapsulation dot1Q 950
ip address 192.168.9.25 255.255.255.224
no ip redirects
no ip unreachables
no ip proxy-arp
standby version 2
standby 5 ip 192.168.9.30
standby 5 timers msec 15 msec 50
standby 5 priority 105
standby 5 preempt

hostname RTR2
!
interface GigabitEthernet0/0/0
no ip address
negotiation auto
!
interface GigabitEthernet0/0/0.700
encapsulation dot1Q 700
ip address 192.168.1.253 255.255.254.0
standby version 2
standby 1 ip 192.168.1.254
standby 1 timers msec 15 msec 50
!
interface GigabitEthernet0/0/1
no ip address
negotiation auto
!
interface GigabitEthernet0/0/1.950
encapsulation dot1Q 950
ip address 192.168.9.26 255.255.255.224
no ip redirects
no ip unreachables
no ip proxy-arp
standby version 2
standby 5 ip 192.168.9.30
standby 5 timers msec 15 msec 50

I have made the changes and it is still behaving the same way. I have also noticed that the only way for it to continue to be able to successfully ping when the interfaces, both physical and sub, are shut off, I have to have OSPF running between the routers. Is that normal or is there a configuration in my switches that I have wrong? On my switches, I have the two ports connected to the routers setup the same as trunk ports.

 

Attached is a simple diagram showing how my lab is setup if that helps show the overview.

Hello,

 

I guess it gets kind of confusing now.

 

Which PC is doing the continuous ping, to which IP address ?

Which interface on which router to you shut/no shut, causing the delay ?

 

Also, there is no OSPF in the configs you have posted, you shouldn't need it anyway, since all HSRP addresses are in the same subnet, and on directly connected links.

 

Better to post the full configurations (show run) of both routers and both switches...

@Georg Pauwen,

 

The PC that does the continuous pinging is the 192.168.5.10 (I realize I have a type in the PDF of the lab layout). It is continuously pinging the 192.168.1.181.

 

I shut/no shut the interfaces on RTR1, the G0/0/0 and G0/0/0.700. I am trying to simulate if one router has a power outage, when it comes back online, is there going to be a seamless transition.

 

Please see the Uploaded configs

Review Cisco Networking for a $25 gift card