You can configure port mirroring profiles for port mirroring sessions.

Note that logical SPAN is supported for overlay segments only and not VLAN segments.
Port mirroring is supported on ENS and Non-ENS for session type Remote L3 SPAN.
Note: Port Mirroring is not recommended for monitoring because when used for longer durations performance is impacted.

Procedure

  1. From your browser, log in with admin privileges to an NSX Manager at https://<nsx-manager-ip-address>.
  2. Select Plan & Troubleshoot > Port Mirroring
  3. Select Add Profile > Remote L3 Span or Add Profile > Logical Span.
  4. Enter a name and optionally a description.
  5. Complete the following profile details.
    Session Type Parameters
    Remote L3 SPAN
    • Direction - Select Bidirectional, Ingress, or Egress.
    • TCP/IP Stack - Select Default or Mirror stack. To use Mirror, you must bind the vmknic to the mirror stack in vSphere.
    • Snap Length - Specify the number of bytes to capture from a packet.
    • Encapsulation Type - Select GRE, ERSPAN TWO, or ERSPAN THREE.
    • GRE Key - Specify a GRE key if encapsulation type is GRE.
    • ERSPAN ID - Specify an ERSPAN ID if encapsulation type is ERSPAN TWO or ERSPAN THREE.
    Logical SPAN
    • Direction - Select Bidirectional, Ingress, or Egress.
    • Snap Length - Specify the number of bytes to capture from a packet.
  6. Click Set in the Source column to set a source.
    For Logical SPAN, the available sources are Segment Port, Group of Virtual Machines, and Group of Virtual Network Interfaces.

    For Remote L3 SPAN, the available sources are Segment, Segment Port, Group of Virtual Machines, and Group of Virtual Network Interfaces.

  7. Click Set in the Destination column to set a destination.
  8. Click Save.