Symptom
When we have ECMP paths for the same route where few paths are pointing to object tracking and few to Null0 :
router static
vrf internet
address-family ipv4 unicast
62.240.120.64/32 Null0 15
62.240.120.64/32 GigabitEthernet0/2/0/1 10.5.15.217 track 10GIG
62.240.120.64/32 GigabitEthernet0/3/0/0 10.5.115.97 track 10GIG
!
!
And then when we cut the link for these two paths (by doing shut of interface etc..)
62.240.120.64/32 GigabitEthernet0/2/0/1 10.5.15.217 track 10GIG
62.240.120.64/32 GigabitEthernet0/3/0/0 10.5.115.97 track 10GIG
It was not adding the backup path with worse distance :
62.240.120.64/32 Null0 15
Conditions
shut/unshut of the interface with which static route is learnt.
Conditions to hit the problem ?
ECMP paths for the same route
having worse distance for path pointing to Null0
bring down the primary paths with best distance
Workaround
Workarounds are:
1) Removing Track object
Further Problem Description