11-21-2007 07:19 AM - edited 03-05-2019 07:33 PM
Is there a way to track an IP instead of an interface when using HSRP Tracking?
11-21-2007 07:54 AM
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,
11-21-2007 09:04 AM
Hi,
Yes you can configure "track ip route" command to achieve the same.
Regards,
Nagendra
11-21-2007 09:12 AM
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
11-21-2007 09:20 AM
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
11-21-2007 09:24 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide