Change Service Console IP

Want to change the Service Console IP address from the command line real quick like?

esxcfg-vswif -i [new IP] -n [netmask] [vswif]
example (as root)
esxcfg-vswif -i -n vswif0

Q: How do I know what is my vswif?
A: esxcfg-vswif -l

you can also use esxcfg-vswif -l to verify the ip of your service console.

A good reference is also available here.

Written on March 5, 2009