09-27-2016 10:48 PM - edited 03-10-2019 01:10 PM
Dear All,
What happens if HSRP tracking interface fails.
In my case tracking interface is down but no changes in HSRP states as checked in logs.
is it related to HSRP state.
Solved! Go to Solution.
09-29-2016 12:10 AM
You are tracking on oth switch HSRP and both switch tracking interface are down s HSRP will be active on switch 1
09-29-2016 08:28 AM
Thank you for posting the information that I requested. Your original post asked what happens if a tracked interface fails. The answer is that if a tracked interface changes state to down that HSRP will decrease the priority of the HSRP interface. And if the decrease in priority results in the HSRP peer having a higher priority (and if the HSRP peer has enabled preempt) then the HSRP peer becomes the active router.
Based on the config that you posted here is what would happen. The two tracked interfaces went down and both switches did two decreases in priority. The result is that SW1 still has higher priority than SW2 and SW1 continues to be active and there is no change in HSRP state.
HTH
Rick
09-28-2016 06:42 AM
Are you sure that the tracked interface is down?
Please post the config and the output of show ip interface brief.
HTH
Rick
09-28-2016 10:13 PM
Dear Rick,
config as follows
SW1
interface Vlan105
ip address 172.31.248.4 255.255.255.0
ip access-group ICMP in
ip access-group DENY out
no ip redirects
no ip proxy-arp
no ip route-cache cef
no ip route-cache
standby 101 ip 172.31.248.6
standby 101 timers 1 2
standby 101 priority 105
standby 101 preempt
standby 101 track GigabitEthernet1/5
standby 101 track GigabitEthernet1/4
arp timeout 5
end
SW2
interface Vlan105
ip address 172.31.248.5 255.255.255.0
ip access-group ICMP in
ip access-group DENY out
no ip redirects
no ip proxy-arp
no ip route-cache cef
no ip route-cache
standby 101 ip 172.31.248.6
standby 101 timers 1 2
standby 101 preempt
standby 101 track GigabitEthernet1/4
standby 101 track GigabitEthernet1/5
arp timeout 5
end
output of IP int brief in SW1
SW1#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES NVRAM administratively down down
Vlan105 172.31.248.4 YES NVRAM up up
FastEthernet1 unassigned YES NVRAM down down
GigabitEthernet1/1 unassigned YES unset up up
GigabitEthernet1/2 unassigned YES unset up up
GigabitEthernet1/3 unassigned YES unset down down
GigabitEthernet1/4 unassigned YES unset down down
GigabitEthernet1/5 unassigned YES unset down down
GigabitEthernet1/6 unassigned YES unset down down
GigabitEthernet1/7 unassigned YES unset down down
GigabitEthernet1/8 unassigned YES unset down down
GigabitEthernet1/9 unassigned YES unset up up
GigabitEthernet1/10 unassigned YES unset up up
GigabitEthernet1/11 unassigned YES unset up
ouput of IP Int brief of SW2
SW2#sh ip int brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES NVRAM administratively down down
Vlan105 172.31.248.5 YES NVRAM up up
FastEthernet1 unassigned YES NVRAM down down
GigabitEthernet1/1 unassigned YES unset up up
GigabitEthernet1/2 unassigned YES unset up up
GigabitEthernet1/3 unassigned YES unset down down
GigabitEthernet1/4 unassigned YES unset down down
GigabitEthernet1/5 unassigned YES unset down down
GigabitEthernet1/6 unassigned YES unset up up
GigabitEthernet1/7 unassigned YES unset down down
GigabitEthernet1/8 unassigned YES unset up up
GigabitEthernet1/9 unassigned YES unset up up
GigabitEthernet1/10 unassigned YES unset up up
GigabitEthernet1/11 unassigned YES unset up up
09-29-2016 12:10 AM
You are tracking on oth switch HSRP and both switch tracking interface are down s HSRP will be active on switch 1
09-29-2016 08:28 AM
Thank you for posting the information that I requested. Your original post asked what happens if a tracked interface fails. The answer is that if a tracked interface changes state to down that HSRP will decrease the priority of the HSRP interface. And if the decrease in priority results in the HSRP peer having a higher priority (and if the HSRP peer has enabled preempt) then the HSRP peer becomes the active router.
Based on the config that you posted here is what would happen. The two tracked interfaces went down and both switches did two decreases in priority. The result is that SW1 still has higher priority than SW2 and SW1 continues to be active and there is no change in HSRP state.
HTH
Rick
09-29-2016 11:25 PM
Thanks
09-30-2016 05:28 PM
I am glad that our responses were helpful. Thank you for using the rating system to mark this question as answered. This will help other readers in the forum to identify discussions that have helpful information.
HTH
Rick
10-12-2016 08:57 AM
Please can you help me regarding
The SNMP Agent at 'Switch' in group 'L2Switches' is not responding.
i checked all logs , switch up time , syslog but did not found any thing wrong ,
Please can you tell me why ticket is generating again n again , what i check ?
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