ā03-19-2025 06:38 PM
So i have attached the picture of my topology below-
As you can see there are 3 devices, 2 routers running ios xe at the top and an ios viosl2 device at the bottom.
Running HSRP on the 2 routers and configs are as follows-
CEdge-1#show running-config interface gigabitEthernet 2.650
Building configuration...
Current configuration : 214 bytes
!
interface GigabitEthernet2.650
encapsulation dot1Q 650
ip address 11.2.101.49 255.255.254.0
standby 10 ip 11.2.101.1
standby 10 timers 10 20
standby 10 priority 200
standby 10 preempt delay minimum 60
end
CEdge-2#show running-config interface gigabitEthernet 2.650
Building configuration...
Current configuration : 189 bytes
!
interface GigabitEthernet2.650
encapsulation dot1Q 650
ip address 11.2.101.50 255.255.254.0
standby 10 ip 11.2.101.1
standby 10 timers 10 20
standby 10 preempt delay minimum 60
end
Config of the vios switch is-
vEdge-2#show running-config interface gigabitEthernet 1/2
Building configuration...
Current configuration : 150 bytes
!
interface GigabitEthernet1/2
switchport trunk allowed vlan 650
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
end
vEdge-2#show running-config interface gigabitEthernet 1/3
Building configuration...
Current configuration : 150 bytes
!
interface GigabitEthernet1/3
switchport trunk allowed vlan 650
switchport trunk encapsulation dot1q
switchport mode trunk
negotiation auto
end
I have tried changing the timer values to a lower value (tried the lowest msec and highest seconds) and nothing changes and hsrp state keeps flapping on cedge-2 as follows-
*Mar 20 01:33:21.084: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Speak -> Standby
*Mar 20 01:33:22.610: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Standby -> Active
*Mar 20 01:33:22.619: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Active -> Speak
*Mar 20 01:33:43.079: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Speak -> Standby
*Mar 20 01:33:44.063: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Standby -> Active
*Mar 20 01:33:44.080: %HSRP-5-STATECHANGE: GigabitEthernet2.650 Grp 10 state Active -> Speak
What is going on and what do i do to fix this?
Cant find any solution online.
Thakn You
Solved! Go to Solution.
ā03-19-2025 07:50 PM
I do not see anything wrong here config-wise; as long as you have a stable Layer 2 connection, HSRP should work as expected.
Check the Logs in vIOS to see if you can find any information.
I have used the same in my CML2.8 - 2 CSR and one vIOS, which works as expected.
CSR -Cisco IOS XE Software, Version 16.04.01
vIOS - Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M),
ā03-20-2025 04:49 PM
so turns out the 2 router nodes i had were csr images version 16.06.03 and i guess something was wrong with these, i replaced them with iosv (VIOS-ADVENTERPRISEK9-M) image version 15.6(1)T with the same commands and it started working instantly with no issues at all and is stable.
ā03-19-2025 07:50 PM
I do not see anything wrong here config-wise; as long as you have a stable Layer 2 connection, HSRP should work as expected.
Check the Logs in vIOS to see if you can find any information.
I have used the same in my CML2.8 - 2 CSR and one vIOS, which works as expected.
CSR -Cisco IOS XE Software, Version 16.04.01
vIOS - Cisco IOS Software, vios_l2 Software (vios_l2-ADVENTERPRISEK9-M),
ā03-20-2025 08:55 AM - edited ā03-20-2025 08:56 AM
Hmm so you used csr images, I guess I'll try using a different image for the routers at the top, I do have csr but those consume too much resources, I'll use something else and see if hsrp works stably.
ā03-20-2025 09:38 AM
2 routers running ios xe
when you mentioned IOS XE router i only think of CSR here.
ā03-20-2025 04:49 PM
so turns out the 2 router nodes i had were csr images version 16.06.03 and i guess something was wrong with these, i replaced them with iosv (VIOS-ADVENTERPRISEK9-M) image version 15.6(1)T with the same commands and it started working instantly with no issues at all and is stable.
ā03-20-2025 09:37 AM
Hello,
Change the Hello/Dead timers in HSRP. While this shouldn't be an issue with such a basic setup, I experienced the same thing setting up SD-WAN in a virtual environment.
-David
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide