I'm creating a table and it looks like this:
ip add route 17.255.248.0 255.255.254.0 interface wanlink2
ip add route 32.106.152.0 255.255.255.0 interface wanlink2
ip add route 32.106.153.0 255.255.255.0 interface wanlink2
ip add route 32.107.9.0 255.255.255.0 interface wanlink2
ip add route 32.238.152.0 255.255.255.0 interface wanlink2
I need to add a different name to the route so it looks like this:
ip add route a1 17.255.248.0 255.255.254.0 interface wanlink2
ip add routeg7 32.106.152.0 255.255.255.0 interface wanlink2
Does anyone know how I can do this automatically without typing it all out?
Coz there is over a thousand I have to do.
ip add route 17.255.248.0 255.255.254.0 interface wanlink2
ip add route 32.106.152.0 255.255.255.0 interface wanlink2
ip add route 32.106.153.0 255.255.255.0 interface wanlink2
ip add route 32.107.9.0 255.255.255.0 interface wanlink2
ip add route 32.238.152.0 255.255.255.0 interface wanlink2
I need to add a different name to the route so it looks like this:
ip add route a1 17.255.248.0 255.255.254.0 interface wanlink2
ip add routeg7 32.106.152.0 255.255.255.0 interface wanlink2
Does anyone know how I can do this automatically without typing it all out?
Coz there is over a thousand I have to do.