cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7635
Views
5
Helpful
5
Replies

HSRP tracking via IP

cisconoobie
Level 2
Level 2

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

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

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,

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

Hi,

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

Regards,

Nagendra

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

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

Jorge Rodriguez

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

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: