Before you begin
- Set up a VMware datacenter with the supported version of vSphere Distributed Switch (VDS).
- Define a dedicated switch uplink port on the ESX server that will send the copied packets to the VM-Aware interface on the Sensor.
- Make sure the uplink port on the VDS is assigned a physical NIC on the ESX server.
For the Sensor to inspect VM traffic, it should receive all the traffic from your virtual data center. The method for this is to configure port-mirroring on the VDS so that a SPAN port of the Sensor receives a copy of all the VM traffic. The steps for defining port-mirroring in vSphere 5.0 are provided in this section. Use it in conjunction with VMware documentation.
When you configure port-mirroring, you specify the virtual source ports from which the traffic is to be copied and the uplink port to which the copied traffic is to be sent. These source and destination ports must belong to the same VDS.
.jpg?sv=2026-02-06&spr=https&st=2026-11-22T14%3A54%3A48Z&se=2026-11-22T15%3A06%3A48Z&sr=c&sp=r&sig=3EQeyKk9ufB%2B8dVXCPFtAQLkRdO7ybL2hqZsqcyJ17Y%3D)
Task
- Use vSphere Client to connect to vCenter.
- Select Home → Inventory → Networking, and then select the VDS for which you want to set up the IDS inspection.
-
Right-click and select
Edit Settings.
- Select the Port Mirroring tab and click Add.
-
In the
Name text box, enter the name for the port mirroring session.
For example, you can enter Trellix IDS.
-
Select
Encapsulation VLAN and enter the VLAN ID corresponding to the VLAN range entered in the VM-Aware interface.
Note
Make sure the mirrored packet is not restricted in its length (keep Mirrored packet length deselected).
- Click Next.
-
From Specify Sources,
select the ports whose traffic you want inspected, for example, 2-100, and then click
Next.
-
From the
Destination type, select Uplink.
Select the dvUplinks that are connected/routable to a Sensor monitoring port.
For example, if there are two uplinks, then dvUplink2 is typically chosen for mirroring whereas dvUplink1 can be used for the normal uplink communication on the vDS.
- Click Next.
-
Select the
Enable this port mirroring session
checkbox and click
Finish.
You can directly connect the Sensor's VM-Aware interface (the SPAN monitoring port) to the physical NIC on the ESX server that is associated with the uplink port on the VDS. Alternatively, you can connect the physical NIC associated with the uplink port to a physical switch. In this case, you must configure SPAN on that physical switch as well. That is, the physical switch port to which the physical NIC of the uplink port must be configured as the source. The switch port to which the Sensor's VM-Aware port is connected must be configured as the destination. So, the traffic from the uplink port on the ESX server is now copied to the port where you have connected the Sensor's VM-Aware port.