Friday, November 23, 2007

AIX - Change IP with one command

chdev -l -a netaddr= -a state=

e.g.
chdev -l en0 -a netaddr='192.168.1.1' -a state='up'

That's all. Simple?