How to change the VLAN ID of the Service Console in ESX from the command line/console

Check which vSwitch the Service Console is on (and the name of the Service Console) with esxcfg-vswitch -l

To remove the vlan id completely, just set it to 0

esxcfg-vswitch vSwitch0 -v 0 -p “Service Console”

To set a vlan id on the service console

esxcfg-vswitch vSwitch0 -v X -p “Service Console” (enter the vlan number where X is)

 

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000258