10-18-2012 03:32 AM - edited 03-07-2019 09:32 AM
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
10-18-2012 03:56 AM
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
10-18-2012 04:53 AM
Thansk Ahmend,
But i want to track the route instead of ICMP object, is that possible or not i want to kown that?
~Jagdev
10-18-2012 05:35 AM
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 commandhttp://www.cisco.com/en/US/docs/ios/12_2t/12_2t15/feature/guide/fthsrptk.html#wp1176432
Hope it will help
Ahmed Sonba
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