02-19-2018 03:40 AM - edited 03-05-2019 09:57 AM
Hi Folks,
The command to track a route is
track <track number> ip route <ip address> <mask> reachability
This assumes that the route is in the global routing table.
What if you want to track a route that is in a VRF. There does not appear to be a way of doing this as the above command is not vrf aware.
Any idea how this could be done?
Look forward to hearing from you.
Phil
Solved! Go to Solution.
02-20-2018 01:22 AM
Hello
You can do this in the track command it self
example:
ip vrf stan
rd 1:10
track 10 ip route 1.1.1.1/32 reachability
ip vrf stan
res
Paul
sent from iphone
02-19-2018 04:56 AM
Hi
If you are using IP SLA it should be included into the VRF as well.
02-19-2018 11:07 AM
Many thanks for the reply.
Unfortunately I am not using IP SLA as I do not wish to generate any additional traffic, I just want to monitor the existence of a route which I have already learnt via bgp.
Any other thoughts?
Regards,
Phil
02-19-2018 11:22 AM
Hi
I think I have found the solution.
After entering the track command you can enter a sub command to specify the vrf eg..
track 99 ip route 10.10.10.10 255.255.255.255 reachability
ip vrf red
!
This is configurable in version 15.2.4
I'll give it a try in a live environment and let you know how I get on.
Phil
02-19-2018 01:27 PM
ok thank you.
02-20-2018 01:22 AM
Hello
You can do this in the track command it self
example:
ip vrf stan
rd 1:10
track 10 ip route 1.1.1.1/32 reachability
ip vrf stan
res
Paul
sent from iphone
02-20-2018 08:16 AM
Hi All
Thanks for all the replies and your help in finding a solution.
Phil
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