cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
349
Views
1
Helpful
5
Replies

HSRP flapping on cisco ios xe node on EVE-NG

kbk989
Level 1
Level 1

So i have attached the picture of my topology below-

kbk989_0-1742434291860.png

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

2 Accepted Solutions

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

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),

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

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.

View solution in original post

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame

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),

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.

2 routers running ios xe

when you mentioned IOS XE router i only think of CSR here.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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.

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