cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5522
Views
0
Helpful
7
Replies

HSRP tracking interface

hemadri37
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

You are tracking on oth switch HSRP and both switch tracking interface are down s HSRP will be active on switch 1

View solution in original post

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

HTH

Rick

View solution in original post

7 Replies 7

Richard Burts
Hall of Fame
Hall of Fame

Are you sure that the tracked interface is down?

Please post the config and the output of show ip interface brief.

HTH

Rick

HTH

Rick

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

 

You are tracking on oth switch HSRP and both switch tracking interface are down s HSRP will be active on switch 1

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

HTH

Rick

Thanks

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

HTH

Rick

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 ?

Review Cisco Networking for a $25 gift card