Hi. We are currently creating several installation scripts to ease our deployment of ESX 3.x out. Some of our vSwitches and port groups require that 'Promiscuous Mode' be set to accept. To avoid having to go back and do this manually, is there any way that it can be done with an esxcfg command? I have searched several locations and not found any.
Thanks!
You can't do this via esxcfg-*, you will need to use the undocumented and unsupported 'vimsh' interface. Do you want to set the policy at a port group or virtual switch level?
For these particulat vswitches we can set it at the vswitch level.
thanks!
You need to run this command after the system has been installed ( after the VMKernel is loaded 😞
vimsh -n -e "hostsvc/net/vswitch_setpolicy --securepolicy-promisc=true vSwitch1"
Where vSwitch1 is the switch you want to set.
Thanks! It worked great!!
This document was generated from the following thread: esxcfg cmd to set promiscuous mode to accept