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 172.25.100.92 -n 255.255.255.0 vswif0

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

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

A good reference is also available here.

Related posts:

  1. ESX Commands: esxcfg-vswif
  2. The watch command in the Service Console
  3. Update Manager and Isolated ESX Service Console Networks
  4. ESX Commands – esxcfg-linuxnet
  5. ESX Commands – esxcfg-firewall