The best way is to use the commands
set_parms hostname
set_parms ip_addr
If you want to change every parameter from scratch than you can use
set_parms initial
This makes necessary changes to the all files too.
You might also need to change the default route, for that use SAM.