Specify the name, description, and session details for the new port mirroring session.

Before you begin

Launch the vSphere Client and log in to a vCenter Server system.

Procedure

  1. Log in to the vSphere Client and select the Networking inventory view.
  2. Right-click the vSphere distributed switch in the inventory pane, and select Edit Settings.
  3. On the Port Mirroring tab, click Add.
  4. Enter a Name and Description for the port mirroring session.
  5. (Optional) : Select Allow normal IO on destination ports to allow normal IO traffic on destination ports.

    If you do not select this option, mirrored traffic will be allowed out on destination ports, but no traffic will be allowed in.

  6. (Optional) : Select Encapsulation VLAN to create a VLAN ID that encapsulates all frames at the destination ports.

    If the original frames have a VLAN and Preserve original VLAN is not selected, the encapsulation VLAN replaces the original VLAN.

  7. (Optional) : Select Preserve original VLAN to keep the original VLAN in an inner tag so mirrored frames are double encapsulated.

    This option is available only if you select Encapsulation VLAN.

  8. (Optional) : Select Mirrored packet length to put a limit on the size of mirrored frames.

    If this option is selected, all mirrored frames are truncated to the specified length.

  9. Click Next.