Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

HSRP tracking via IP

There's a way of tracking a remote IP via icmp with HSRP. If this IP is not reachable then it will force the failover. I believe the the way it works is once the remote IP is unreachable the timer starts, the service provider is stating that the timer is when the IP address is checked. which is it please?

7 REPLIES

Re: HSRP tracking via IP

Hi,

You can track the reachability of the IP in the routing table.

track 100 ip route reachability

!

interface Ethernet0/0

ip address x.x.x.x

standby 1 preempt

standby 1 ip y.y.y.y

standby 1 priority 110

standby 1 track 100 decrement 20

HTH,

Mohammed Mahmoud.

Hall of Fame Super Bronze

Re: HSRP tracking via IP

Yes, you can track a remote IP with HSRP and it doesn't have to be via ICMP. You can use the track feature within IOS.

Let's say you have this route in your RIB (192.168.1.0/24)

Then you configure the track with:

track 1 ip route 192.168.1.0/24 reachability

And your HSRP with:

interface [module/port]

ip address 172.16.1.1 255.255.255.0

standby ip 172.16.1.254

standby preempt

standby priority 105

standby track 1 decrement 10

As soon as the route is no longer in the routing table, the HSRP priority will be 95 and the other HSRP router will take over.

New Member

Re: HSRP tracking via IP

Isn't there a way where a IP is selected and is checked via icmp. Once it becomes unreachable then a timer begins and the failover occurs. I thought I saw it as a HSRP tracking option, it could have been a VRRP tracking option? thanks

Hall of Fame Super Bronze

Re: HSRP tracking via IP

You can use IP SLA for ICMP checks, however this may create unnecessary traffic in your network. It's best to track interfaces/routes based on their current state.

New Member

Re: HSRP tracking via IP

Yes, but in this situation we want router A to failover immediatly when anything occurs with or beyond Router B. We dont want to wait for the routing update, if the client base notices a pause or a timeout they call into the helpdesk. So whenever possible we want any failovers to be invisible to the client base. Waiting for the routers to converge will likely cause some session timeouts.

Hall of Fame Super Bronze

Re: HSRP tracking via IP

When the connection is lost the routing update will be triggered and it will react as quick or even faster than a ping response.

Please try in a Lab before implementing and you will see what I'm referring.

New Member

Re: HSRP tracking via IP

Ok thanks

1006
Views
4
Helpful
7
Replies