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

HSRP IP Route tracking

jagdev.dhaliwal
Level 1
Level 1

Hi All,

I want to track a route  whether it is reachable by specific IP or not, is it possible?

----------------------------------------------------------------------------------------------------

track 1 ip route 0.0.0.0 0.0.0.0 10.3.12.26 reachbilty

R1(config-track)#int fa0/0
R1(config-if)#standby 1 track 1 decrement 20

----------------------------------------------------------------------------------------------------

I want something like above

Thanks

Jagdev

3 Replies 3

AhmedSonba
Level 1
Level 1

Hello Jagdev,

Yes you can by useing  IP SLA and object tracking , please see the example below of the configuration

ip sla 1

icmp-echo  10.3.12.26 source-interface FastEthernet0 " interface with the next hope"

timeout 500

threshold 500

frequency 3

ip sla schedule 1life forever start-time now

Now you need to configure the Object Tracking as below:

track 1 ip sla 1 reachability

than you can use it normally in your Standby command

R1(config-track)#int fa0/0

R1(config-if)#standby 1 track 1 decrement 20

Hope it will help

Ahmed Sonba

Thansk Ahmend, 

But i want to track the route instead of ICMP object, is that possible or not i want to kown that?

~Jagdev

Hi

Yes you can, please refer to the  command below :

track object-number ip route ip-address/prefix-length {reachability | metric threshold}

the following example, the tracking process is configured to track the reachability of 10.10.10.0/24:

track 1 ip route 10.10.10.0/24 reachability

Please refer to the follwoing link for more information about this command

http://www.cisco.com/en/US/docs/ios/12_2t/12_2t15/feature/guide/fthsrptk.html#wp1176432



Hope it will help

Ahmed Sonba
Review Cisco Networking products for a $25 gift card