Edit the details of a port mirroring session, including name, description, status, sources, and destinations.

Procedure

  1. On the vSphere Client Home page, click Networking and navigate to the distributed switch.
  2. On the Configure tab, expand Settings and click Port mirroring.
  3. Select a port mirroring session from the list and click Edit.
  4. On the Properties page, edit the session properties.
    Depending on the type of port mirroring session being edited, different options are available for configuration.
    Option Description
    Name You can enter a unique name for the port mirroring session, or accept the automatically generated session name.
    Status Use the drop-down menu to enable or disable the session.
    Normal I/O on destination ports

    Use the drop-down menu to allow or disallow normal I/O on destination ports. This property is only available for uplink and distributed port destinations.

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

    Sampling rate Select the rate at which packets are sampled. This is enabled by default for all port mirroring sessions except legacy sessions.
    Mirrored packet length (Bytes) Use the check box to enable mirrored packet length in bytes. This puts a limit on the size of mirrored frames. If this option is selected, all mirrored frames are truncated to the specified length.
    Description You have the option to enter a description of the port mirroring session configuration.
  5. On the Sources page, edit sources for the port mirroring session.
    Depending on the type of port mirroring session being edited, different options are available for configuration.
    Option Description
    Add existing ports from a list Click the Select distributed ports to add to this port mirroring session. button. A dialog opens with a list of existing ports. Select the check box next to the distributed port and click OK. You can choose more than one distributed port.
    Set the traffic direction After adding ports, select the port in the list and click the ingress, egress, or ingress/egress button. Your choice is displayed in the Traffic Direction column.
  6. In the Destinations section, edit the destinations for the port mirroring session.
    Depending on the type of port mirroring session being edited, different options are available for configuration.
    Option Description
    Select a destination distributed port Click the Select distributed portsto add to this port mirroring session. button to select ports from a list. You can add more than one distributed port.
  7. Click OK.