Symptom
Ipv4 static route configs go missing after CR operation ("configure replace" command):
Before the CR operation:
-----------------------------------
spine2(config)# sh ru | grep "^ip.*route"
ip route 111.111.111.111/32 Null0 <- these two get lost after CR operation
ip route 110.110.110.110/32 Null0 <- these two get lost after CR operation
ipv6 route 111:111::111:111/128 Null0
ipv6 route 110:110::110:110/128 Null0
spine2(config)#
After the CR operation the above ipv4 static routes are missing:
-----------------------------------
spine2(config)# sh ru | grep "^ip.*route"
ipv6 route 111:111::111:111/128 Null0
ipv6 route 110:110::110:110/128 Null0
spine2(config)#
---------------------------
Conditions
Both running cfg and target cfg has the exact same ip route cfgs
Workaround
After cfg replace check to see if static ipv4 routes are missing. If so, you can later add the missing cfgs via cli. This works fine.
Further Problem Description
The same problem is not seen with the "ipv6 route" version of this command.