I am trying to find out if what I need to do can be done with a config change template. I am just looking for a yes/no (an example would be awesome too!).
I have about 500 routers that I need to change a static route on. This route is unique for each router. See below
Is there a way to one - get that cable gateway by doing a show run | include IP ROUTE 1.1.1.1, then extract the <<cable gw>> via script so I can then reinsert it into a new route statement?
Then repeat this process 500 times? I guess if i get this working I can just run it against each device.
Thanks for any help!
Scott
rtr1gw#sh run | include ip route 1.1.1.1
ip route 1.1.1.1 255.255.255.255 10.10.10.10
rtr1#
no ip route 1.1.1.1 255.255.255.255 <<cable gw>>
ip route 2.2.2.2 255.255.255.255 <<cable gw>>