You can configure port mirroring for port groups, virtual NICs of VMs, and VMs created in NSX-T and vSphere Distributed Virtual port groups created in vSphere that are connected to a vSphere Distributed Switch (VDS) switch.

In vCenter Server, configure port mirroring for vSphere Distributed Virtual port groups on a VDS switch.

In NSX Manager, configure port mirroring for segments (in NSX-T) on a VDS switch.

Note: You cannot edit configuration for a segment created in NSX-T in vCenter Server. As an admin, you can view the properties of a port mirroring session to know on which switch it is created.

To enable port mirroring on vSphere Distributed Virtual port groups, see the vSphere Networking documentation.

To enable port mirroring on segments, ports, groups in NSX-T from both Policy and Manager modes in NSX Manager, see:

Uplink Conflict Between Teaming and Remote SPAN

In vSphere, by default, the Remote SPAN in a teaming policy is set to Disallowed. If you use all the available physical NICs to configure remote SPAN, there are no free uplinks available for the teaming policy to consume. The unavailability of any free uplink means that uplink traffic is not allowed on destination ports, resulting in configuration errors.

However, in NSX-T, by default, Normal I/O on Destination Ports is set to Allowed. In NSX-T, port mirroring configured for NSX port groups on an N-VDS switch allows teaming and port mirroring on destination ports. So, uplink configuration errors do not occur in NSX-T.

To resolve a uplink conflict when configuring teaming and remote SPAN:
  • Ensure that a free uplink is available. For example, on an ESXi host with 2 physical NICs, do not assign both these uplinks as destination IP addresses in the remote span port mirroring profile to avoid uplink conflicts in configuration. There must be at least one available uplink that can be configured in teaming profile.
  • In vCenter Server, edit the port mirror configuration profile and set the Normal I/O on Destination Ports to Allowed.