How to set dhcp client by using commands

Hi,

I have used "smit tcpip" to setup dhcp client but it does not work. Don't know why. Now I want to try using commands to do the job. I have studied commands chdev and mktcpip but did not find howto.

Please help. Thank you!

Actually SMIT uses the system commands the same way you do, so chances are if SMIT didn't work for some reason typing the same commands by hand won't work either.

If you want to know which command SMIT uses press <F6> in the respective SMIT panel.

I hope this helps.

bakunin