Need to write script to set a static route on 130 routers at remote locations. The third octet will be different on each router. I am not sure how to write this, or if I can even use variables in this situation.
I actually got an answer for this from the support portal.
Can you share the script / answer and the process ?
Thanks
Yeah, first you have to create a custom property in NCM to pull the variable from (assuming it is not one of the existing properties). Then we iported the values from a CSV file. In the script it was written ip route 0.0.0.0 0.0.0.0 192.168.${route}.254 250. Route was the name we gave to the custom property.