Hey guys,
I am a little confused on tracking a route. Say I HSRP and I have a route to a partner's network I want to track. So I create a tracked object correct? (see code) Since this is a static route, it should have a metric of one. if it has a metric of anything other than 1 (since there is only 1 route there) it would then go down. Correct?
When I run a show track it always shows as down even through it's perfectly pingable and in the routing table. I feel like I am fundamentally not getting this command. All the googling I have done with this command leads me to IP SLA, which is not what I am looking for.
Configured code
track 20 ip route 192.168.1.1 255.255.255.0 metric threshold
threshold metric up 1 down 2
!
show track
Router#show track
Track 20
IP route 192.168.1.1 255.255.255.0 metric threshold
Metric threshold is Down (no route)
1 change, last change 00:01:43
Metric threshold down 1 up 0
First-hop interface is unknown