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

Is there a way to track an IP instead of an interface when using HSRP Tracking?

5 REPLIES
Hall of Fame Super Bronze

Re: HSRP tracking via IP

Yes, you can configure IP SLA to ping a host and associate this SLA to a track.

On the HSRP configuration, you can use the track option instead of the interface.

Please read this chapter and at the bottom of the chapter, a HSRP example is illustrated.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/haipbtrk.htm

HTH,

Cisco Employee

Re: HSRP tracking via IP

Hi,

Yes you can configure "track ip route" command to achieve the same.

Regards,

Nagendra

New Member

Re: HSRP tracking via IP

track ip route is not an option

Core(config-if)#standby track ?

<1-500> Tracked object number

Async Async interface

BVI Bridge-Group Virtual Interface

CTunnel CTunnel interface

Dialer Dialer interface

Filter Filter interface

Filtergroup Filter Group interface

GigabitEthernet GigabitEthernet IEEE 802.3z

Lex Lex interface

Loopback Loopback interface

Port-channel Ethernet Channel of interfaces

Portgroup Portgroup interface

Pos-channel POS Channel of interfaces

Tunnel Tunnel interface

Vif PGM Multicast Host interface

Virtual-TokenRing Virtual TokenRing

Vlan Catalyst Vlans

fcpa Fiber Channel

Re: HSRP tracking via IP

Enhence tracking is an IOS feature, Im using the same Link Edison Ortiz posted, please refer to IOS releases that support object tracking.

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hiap_c/haipbtrk.htm#wp1192372

Cisco Employee

Re: HSRP tracking via IP

Hi,

This command is a config mode command. Configure this command as below,

"track 1 ip route < ip addr/n> reachability"

and apply the same under interface using

int g0/0

standby 1 track 1

This will track the ip route and if the ip addr is not in routing table, the object will be down.

Hope this helps.

Nagendra

6288
Views
5
Helpful
5
Replies