cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1538
Views
0
Helpful
2
Replies

ip route xx.xx.xx.xx 255.255.255.255 10.x.x.x name vdi-traffic track 10

Khundmir4cisco
Beginner
Beginner

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? 

2 Replies 2

Georg Pauwen
VIP Master VIP Master
VIP Master

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.

paul driver
VIP Expert VIP Expert
VIP Expert

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
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