VMware Cloud Community
psautter
Contributor
Contributor
Jump to solution

Change Security Policies of Specific Port Groups on a vSwitch?

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
avlieshout
VMware Employee
VMware Employee
Jump to solution

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.

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

Reply
0 Kudos
1 Reply
avlieshout
VMware Employee
VMware Employee
Jump to solution

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.

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos