Edit Static Route

Anyone know how to edit a static route in AIX? I find myself deleting and then recreating the route with the new information. Would be nice to know how to edit the route.

that is how it's done. you don't "edit" a route. you can use smitty route or chdev -l inet0 ... to manage static routes.

There are two methods to do it in AIX:

  1. use the "route"-command. The changes to the routing table will not be persistent across reboots but will work as expected in any other regard.

  2. as frank_rizzo already told you use "chdev". The change you make this way will be persistent. Using "smitty routes" is basically the same as issuing "chdev -l inet0 ..", but with a menu-driven interface to guide you.

I hope this helps.

bakunin

From my experience, its very badly to edit route table manualy without using the smit,
so as frank_rizzo, my recommendation for you is just keep using the smit menu.