PowerCLI

  • 1.  Change Security Policies of Specific Port Groups on a vSwitch?

    Posted Jan 17, 2011 03:29 PM

    I'm sorry if this has been answered already; I couldn't find it.  I need a script to change the Promiscuous Mode from Reject to Accept on over 100 port groups and I'm unsure how to do this through PowerCLI.  If anyone could provide an example I would be very appreciative.



  • 2.  RE: Change Security Policies of Specific Port Groups on a vSwitch?
    Best Answer

    Broadcom Employee
    Posted Jan 17, 2011 04:08 PM

    Why would you want to do this for all your portgroups?

    As a security best practise leave this to rejected.

    If you need promiscuous mode, create a new portgroup specifically for this purpose.

    If you want to set this for all portgroups, you can better change this on your vSwitch unless you've overide switch settings by specifying portgroup security settings.

    Afaik this can only be done using the SDK. Check out Onyx to help you out with this task.