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

HSRP IP Route tracking

jagdev.dhaliwal
Beginner
Beginner

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
Beginner
Beginner

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
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:

Recognize Your Peers