6.5.1

Table Of Contents
Procedure
1 In the vSphere Web Client, 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.
Encapsulation VLAN ID Enter a valid VLAN ID in the field. This information is required for Remote
Mirroring Source port mirroring sessions.
Mark the check box next to Preserve original 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.
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… 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.
Add existing ports by port number Click the Add distributed ports… button, enter the port number and click OK.
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.
Specify the source VLAN If you selected a Remote Mirroring Destination sessions type, you must specify
the source VLAN. Click the Add button to add a VLAN ID. Edit the ID by either
using the up and down arrows, or clicking in the field and entering the VLAN ID
manually.
vSphere Networking
VMware, Inc. 242