11-03-2020 10:32 PM
I came across one static route command in the configs and could not able to understand the significant of using the track command at the end of static route command.
Also, when I check #show track I get this output
abcd-xyz#show track brief
Track Type Instance Parameter State Last Change
10 ip sla 100 reachability Up 14:56:26
Are these both related?
11-03-2020 10:51 PM
Hello,
the IP SLA and the route tracking are indeed related. Your config should look something like this:
track 10 ip sla 100 reachability
!
ip sla 100
icmp-echo 8.8.8.8 source-interface GigabitEthernet0/0
frequency 3
!
ip sla schedule 100 start-time now life forever
!
ip route xx.xx.xx.xx 255.255.255.255 10.x.x.x name vdi-traffic track 10
ip route xx.xx.xx.xx 255.255.255.255 10.x.x.x name vdi-traffic 100
This means when the IP SLA is down, the primary route is tracked and removed from the routing table, and the secondary route with the higher administrative distance is installed.
11-04-2020 12:43 AM - edited 11-04-2020 12:44 AM
Hello
The example you show is IPLSA tracking
However tracking is not just used with IPSLA,, In fact it doesn’t have to use IPSLA whatsoever, It can be used against metric changes in the route table of a specific route prefix(s) or reachability of an ip route(s) or interface(s), it quite a versatile feature
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