cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
41572
Views
15
Helpful
2
Comments

HSRP Tracking

Tracking is only for HSRP to detect some changes in the routing table. HSRP is not a real routing protocol it just provides a default gateway at Layer 2 and Layer 3.

Interface tracking allows you to specify another interface on the router for the HSRP process to monitor in order to alter the HSRP priority for a given group.

If the specified interface's line protocol goes down, the HSRP priority of this router is reduced, allowing another HSRP router with higher priority can become active (if it has preemption enabled).

To configure HSRP interface tracking, use the command:

standby [group] track interface [priority]

Eg: Router(config-if)# standby 1 track serial 0/0 25

HSRP will track the availability of interface serial 0/0. If serial 0/0 goes down, the priority of the router in group 1 will be decremented by 25.

The track argument does not assign a new priority if the tracked interface goes down. The track argument assigns a value that the priority will be decreased if the tracked interface goes down.

Therefore, if you are tracking serial 0/0 with a track value of 25—standby 1 track serial 0/0 25—and serial 0/0 goes down, the priority will be decreased by 25; assuming a default priority of 100, the new priority will now be 75.

The default value of the track argument is 10.

Tracking allows syncing the HSRP priority to the good state of one or more uplinks. So combining tracking and preemption HSRP Active role can be taken by the router with the best current connectivity to the core providing better performance.

In modern IOS we can track more than simple interface state. Interface tracking enables HSRP process to monitor additional interfaces, the status of which will dynamically change the HSRP priority (Active/Standby).

Imagine the following scenario:

If you have two serial links to two different ISPs(assume primary/backup Internet connections) connected via two different routers, it would be interesting to have the serial interface connecting to your primary ISP tracked in order to minimize service interruption to your local users. If this serial interface goes down, your backup router can take over the gateway functionality to your local network, while maintaining the connectivity to the secondary ISP (backup). Users would still be able to access Internet via the backup router (through Secondary ISP) thanks to the interface tracking functionality in HSRP.

You can consider interface tracking as part of the 'Normal' HSRP.

Please refer Interface Tracking of Hot Standby Router Protocol Features and Functionality. Also refer the link Interface Tracking.

It is possible to track more than one thing at a time within the same HSRP group. We can do interface tracking as well as IP SLA tracking within one HSRP group. Each tracked object will produce a priority decrement if it fails. This helps in scenarios where you want the active router to change role only when multiple events happen or if you want to track multiple aspects.

The purpose of tracking an interface is so that you can decrease the priority of an interface running HSRP if some other interface goes down. If the interface running HSRP goes down you do not want to decrease its priority you want the other standby interface to take completely over.

Comments
ParthaSarathi
Level 1
Level 1

Yes in practical  or live environment we generally use hsrp in LAN enviorment  Which is helpful if there is any  direct link failure in LAN side . But most often problem happens on WAN side rather than LAN side .

So for an Example If there is an ISP link failure in Primary  so  we need to divert the traffic on secondary  but only with HSRP we cant achieve this same . so we  need to Track an object say  for an example any remote site route. So once link is down and that specific route which we are tracking will be not in routing table after some time then the track object will fail which will cause the primary router to decrease it hsrp priority and the secondary will be primary if preemption is configured .

alexbrook
Level 1
Level 1

Yes, that is correct. The purpose of interface tracking in HSRP is to decrease the priority of an interface running HSRP if some other tracked interface goes down. If the interface running HSRP goes down, the priority of that interface will already be zero, so it will not be able to participate in the HSRP election process. In this case, the other standby interface will take over as the active router.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card