Configure the Security Policy

You can modify the security policy of a port group to enable promiscuous mode, which allows monitoring of the traffic generated by virtual machines.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Get the current security policy of the port group.
    $policy = Get-VDSecurityPolicy -VDPortGroup $myVDPortGroup
  2. Enable promiscuous mode for the port group.
    Set-VDSecurityPolicy $policy -AllowPromiscuous $true